In this video I’ll show you how to add a scrollbar to your treeview widget with tkinter and Python.
Adding a scrollbar to a treeview widget is just like adding any scrollbar to anything. Treeview has the ability to take a scrollbar, but we won’t use that. Instead we’ll add our treeview widget to a frame, and then add the scrollbar to the frame as we’ve done in many videos in the past.
In this video I’ll also show you the three treeview selectmodes, extended, browse, and none. These allow us to determine how many or few rows in the treeview a user can select.
I am working on a project that uses the treeview and I want to add scrollbars to it. In my program I want to use the treeview for topics and sub-topics, when you click on the topic, it displays the information about that topic in a text window on the side.
Your video covers the pack method, I am using the grid method without success.
I have tried with and without the frame with the same results, The scrollbar does not move, cannot be moved. I have looked at multiple tutors (all with pack) and as far as i can tell I am doing things correctly. Do you have any videos showing treeview and scroll bars using the grid method.
(My text window has a scroll bar and works without issue so there is something I am doing wrong but i just can’t see it.)