hi all,
I am trying to make simple windows test app, it has
grid class i copied from demo\GridCustTable.py, I
spent several days trying to linking array with this
grid,also searching google with no results,
Is there any sample code for grid and array linked?
Will I be better off with c# or vb.net? not enough doc
or sample code really hinders productivity.
thanks
john
···
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
could you be a little more specific? What do you mean by array, a list of lists perhaps?
GridCustTable does what you want, but it uses a lot of features that you probably don't want.
from the demo
self.dataTypes = [...]
defines the datatype that the grid will display. If you modify this to be just wxGRID_VALUE_NUMBER and wxGRID_VALUE_STRING it might make things easier.
the self.data list is the "array" that this custom table operates on and is updated to mirror what the users types into the grid.
How is this not working for you? Perhaps you are starting with an empty list which might cause problems.
···
--
Brian Kelley bkelley@wi.mit.edu
Whitehead Institute for Biomedical Research 617 258-6191