-1

Example of table

Is there any way I can create a table like UI with Tkinter? Any widget or module?

Thanks.

elnino
  • 173
  • 2
  • 9
  • 1
    Maybe the treeview, or you could build a lot of labels. – Thingamabobs Aug 02 '20 at 12:02
  • Treeview is a way, but idt there is a proper table widget for table, u can try listview too – Delrius Euphoria Aug 02 '20 at 12:39
  • You can try [tkintertable](https://pypi.org/project/tkintertable/) as well. – acw1668 Aug 02 '20 at 14:20
  • 1
    This is far too vague. How do you define "table"? Does it need to be editable? Do you need resizable columns? Do rows need to be able to have formula? Do cells need to support more than one line of text? Do they need to support images or other embedded widgets? – Bryan Oakley Aug 02 '20 at 18:32
  • Example of table using a Treeview: https://stackoverflow.com/questions/50625306/what-is-the-best-way-to-show-data-in-a-table-in-tkinter/50651988#50651988 – j_4321 Aug 03 '20 at 07:53

1 Answers1

0

Yes, there is a table in tkinter. It's highly dynamic and fluid. You can set rows, columns, columnspan, rowspan, and more. The best part is: it's built right into the root and Frame. You can access it via .grid(), and configure it via .grid_rowconfigure() and .grid_columnconfigure()

OneMadGypsy
  • 4,640
  • 3
  • 10
  • 26