471,119 Members | 1,123 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

editing a wxGrid


i worked on a project in TCL/TK found at j_m_mc.tripod.com. I want to
allow the user to edit the table using wxGrid and python.

I'm just looking for some tips. For i.e. in sqlite and TCL most data is
represented as a string. When do data types become an issue in this
instance? If I allow the user to edit directly in a cell it seems it
doesnt really matter because you can only enforce data validation if i
use a form anyways as far as the data types go. I mean with sqlite the
primary reason for using data types is in case i want to ever switch
dbs. I cant remember off the top of my head but I think access or
paradox would complain if you used a string for instance in a date
field. So without some checking be in forced maybe it is not a good
idea to directly allow editing in the table anyways.

Is a better way stepping through or searching the array that populates
the TkTable query result and tying it to a form that validates somehow?

bottom line...i'm looking to extend my program a little and wondered
if anything along these lines is feasible.


Jul 18 '05 #1
0 1158

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Tom Lee | last post: by
6 posts views Thread by Johnny Geling | last post: by
reply views Thread by Kepes Krisztian | last post: by
1 post views Thread by matthiasjanes | last post: by
4 posts views Thread by Piet | last post: by
1 post views Thread by James | last post: by
1 post views Thread by Sam the Cat | last post: by
reply views Thread by fowlertrainer | last post: by
10 posts views Thread by lux | 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.