471,852 Members | 1,051 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,852 software developers and data experts.

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 17082
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
NeoPa
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.