469,336 Members | 5,570 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

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

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
4 16839
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
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
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
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.

Similar topics

3 posts views Thread by Phil Schmidt | last post: by
reply views Thread by Paul Miller | last post: by
1 post views Thread by syed_saqib_ali | last post: by
6 posts views Thread by gregarican | last post: by
reply views Thread by Kevin F | last post: by
reply views Thread by Kevin F | last post: by
14 posts views Thread by Hendrik van Rooyen | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.