user648855
user648855

Reputation: 1237

Is there a Tkinter widget equivalent to .NET's ListView control?

In .NET, there is the ListView control, which displays a multicolumn list of items with clickable column headings one can use to sort the list in ascending or descending order by column. I need a scrollable Tkinter widget with exactly that behavior, but there doesn't appear to be anything in the standard Tkinter module with even similar functionality. This seems like a strange oversight. Is there a module out there with a widget like this? A cross-platform solution would be most desirable, but it's most important that the widget function well on Windows (XP and 7).

Upvotes: 2

Views: 8006

Answers (1)

Bryan Oakley
Bryan Oakley

Reputation: 386010

If you're using a modern version of tkinter you can use the ttk.Treeview widget.

Upvotes: 5

Related Questions