By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,676 Members | 2,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,676 IT Pros & Developers. It's quick & easy.

Tkinter -- Show Data in an Excel like Read-Only Grid

P: n/a
Hi All,

I am really new to Tk and Tkinter. I googled the web but it was not
mentioned how to build a data grid with Tkinter.

Basically, I want to show an excel like data grid with fixed column
and row headers and sortable columns. But the grids can be read-only.

Can anyone give some hint on implementing this?
Thanks,
beginner

Jul 27 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On Jul 27, 2:56 pm, beginner <zyzhu2...@gmail.comwrote:
Hi All,

I am really new to Tk and Tkinter. I googled the web but it was not
mentioned how to build a data grid with Tkinter.

Basically, I want to show an excel like data grid with fixed column
and row headers and sortable columns. But the grids can be read-only.

Can anyone give some hint on implementing this?

Thanks,
beginner
See if tkTable will help
http://tkinter.unpythonic.net/wiki/TkTable
Jul 28 '07 #2

P: n/a
On Jul 27, 11:08 pm, Zentrader <zentrad...@gmail.comwrote:
On Jul 27, 2:56 pm, beginner <zyzhu2...@gmail.comwrote:
Hi All,
I am really new to Tk and Tkinter. I googled the web but it was not
mentioned how to build a data grid with Tkinter.
Basically, I want to show an excel like data grid with fixed column
and row headers and sortable columns. But the grids can be read-only.
Can anyone give some hint on implementing this?
Thanks,
beginner

See if tkTable will helphttp://tkinter.unpythonic.net/wiki/TkTable
Thanks for your help.

Jul 28 '07 #3

P: n/a
On Jul 27, 4:56 pm, beginner <zyzhu2...@gmail.comwrote:
Hi All,

I am really new to Tk and Tkinter. I googled the web but it was not
mentioned how to build a data grid with Tkinter.

Basically, I want to show an excel like data grid with fixed column
and row headers and sortable columns. But the grids can be read-only.

Can anyone give some hint on implementing this?
If tkTable isn't what you're looking for, take a look at wxPython
(http://www.wxpython.org). It's a different widget set and bit of a
higher learning curve than Tkinter, but it has hundreds of widgets for
things like this (wx.Grid).
>
Thanks,
beginner

Jul 28 '07 #4

P: n/a
If you want to only display data in a table format, try
MultiListBox.py. Just download and run for a demo.
http://aspn.activestate.com/ASPN/Coo...n/Recipe/52266

Jul 28 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.