On Jun 19, 2006, at 8:40 AM, Simen Haugen wrote:
I was actually just testing this. It is all so simple when you see how
it's done :)
That's good to know!
When I use 'list' as datatype in a column, it references
wx.grid.GridCellChoiceEditor. I guess I have to create a new editor
based on dDropDownList to get it working within my grid.
If you do, please share it! We planned on implementing all of these
editors with Dabo controls, but getting the grid to work with the
native editors was enough of a task. We've found problems with list
selection under Gtk with that native dropdown list, so creating the
Dabo-based editor might solve that problem, too.
Whenever a cell gets focus in the grid, it enters edit mode
automatically. This is a problem for me, as my DateTimeCellEditor is a
pop-up dialog box. I don't know how I can turn off or override this.
grid.ActivateEditorOnSelect = False
There might be a bug (or feature) in the dGrid class; When the grid is
repopulated, it doesn't sort the dataset, but the column still looks
sorted (has the arrow indicating sorted).
Hmmm... are you populating the grid by setting its DataSet property?
The setter for that property is what handles the sorting.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users