pert TK grid

Posted on 2002-05-26
Last Modified: 2008-02-26
Do you know which is de widget that it is like the grid of EXCEL, LOTUS 123, ACCESS,...

I need this to load a database into this grid a for the user can modify the database from here.

Question by:bedelludrica
  • 3
LVL 51

Expert Comment

ID: 7036821
what do you mean exactly by "grid"?
As I read your question I assume that grid is not Tcl/Tk's grid.

Author Comment

ID: 7037565
Not. It is not Tcl/Tk's grid.  I want a grid like the Microsoft datagrid control 6 of the Activex.

Sorry for my spanish/english language. I am From Spain.

LVL 51

Accepted Solution

ahoffmann earned 100 total points
ID: 7037804
with Tcl/Tk and perlTK you can build a table with cell, where each cell can be set "active" or "disabled" (see entry and text widget).
If you also use Tk's tag feature, you can define rows and columns or any other order you like of such cells (entry widgets), and switch the state from active to disabled with a single call.
Is this what you want?

AFAIK you also can set the visibility of the widget, but if you have a table with a lot of cells, it might not be very performant. I would not recommend it.

Expert Comment

ID: 9512344
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept a comment by ahoffmann (although the answer did not provide details but it should lead to a reasonable solution)

Please leave any comments here within the next seven days.


EE Cleanup Volunteer
LVL 51

Expert Comment

ID: 9513485
hmm, the details to my suggestion are simple:
  entry .widgetname -state disabld
(should be obvious to everyone used to Tcl/Tk ;-)

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
perl to convert excel to csv 3 182
Move Function in Perl Script 2 65
how to exit a  for loop inside a function with return value in bash 5 96
Perl Frameworks 1 81
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now