[wxPython-users] Grid Values: Getting and Setting

Rich Shepard rshepard at appl-ecosys.com
Sun Sep 2 11:23:39 PDT 2007


On Sun, 2 Sep 2007, Werner F. Bruhin wrote:

> I keep a list ['sqlcolname1', 'sqlcolname2'] etc and the position in the list 
> corresponds to the column number in the grid.  I also keep column 0 reserved 
> and it contains the primary key for the corresponding database row and that 
> column is also in the grid but it is hidden to the user.

Werner,

   This may be getting too far away from wxPython itself. Anyway, I don't
know if I can make this work. The table displayed in the grid has a compound
key of three attributes; they are the first three columns and must be
visible.

   What I need to do is get some data to put into this part of the model and
use print stubs to watch what's happening under various conditions (e.g.,
entering initial data, making changes, appending new data to a row, etc.).
Then I can ask more specific questions with a better explanation of what
I've tried and the results.

Thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |         Accelerators(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863




More information about the wxpython-users mailing list