473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 17238
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Phil Schmidt | last post by:
I'm trying to make a custom entry widget, as in the code that follows. There are two problems I'm trying to fix: 1) I would like the widget to behave as myEntry.Escape() does now, except that it...
0
by: Paul Miller | last post by:
I would like to create a widget in Tkinter that has a settable title and cannot be moved outside of its master widget. What I have in mind is similar to what happens when you open a new file in...
1
by: syed_saqib_ali | last post by:
Please take a look at and run the code snippet shown below. It creates a canvas with vertical & Horizontal scroll-bars. If you shrink the window to smaller than the area of the canvas, the...
6
by: gregarican | last post by:
I have a Python UDP listener socket that waits for incoming data. The socket runs as an endless loop. I would like to pop the incoming data into an existing Tkinter app that I have created. What's...
0
by: Kevin F | last post by:
I've been trying to implement this script, it polls an IMAP inbox for unread messages and displays the sender and subject in a scrollable window using Tkinter. However, when I try to change the...
0
by: Kevin F | last post by:
Sorry to repost... but 4am didn't get much responses. I've been trying to implement this script, it polls an IMAP inbox for unread messages and displays the sender and subject in a scrollable...
3
by: aldonnelley | last post by:
Hi all. Just having a weird problem with tkinter. I'm trying to make a gui that shows results from an image search, with a "forward" and "back" button so the user can compare results from...
14
by: Hendrik van Rooyen | last post by:
Hi, I get the following: hvr@LINUXBOXMicrocorp:~/Controller/libpython display.py UpdateStringProc should not be invoked for type font Aborted and I am back at the bash prompt - this is...
32
by: Kevin Walzer | last post by:
I'm a Tcl/Tk developer who has been working, slowly, at learning Python, in part because Python has better support for certain kinds of applications that I want to develop than Tcl/Tk does....
6
by: nairda | last post by:
Hi there, I need help processing data from Excel in VB. I have a MSHFlexgrid to show data extracted from Excel. I'm able to show a range of cells from Excel table to my Flexgrid, but that's it. The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.