I'll try to create a cellchoiceeditor as I need this, and I'll share it once I get it working. I don't have time to test it on other platforms.
> grid.ActivateEditorOnSelect = False Thanks! This has been bugging me since I started using dabo. > Hmmm... are you populating the grid by setting its DataSet property? >The setter for that property is what handles the sorting. I think I was wrong about this. It's just because some of the rows change place when I update (those with equal values in the sorted columns). So if I press the heading to sort it, and then update the grid, the rows is reordered slightly. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe Sent: 19. juni 2006 14:54 To: Dabo Users list Subject: Re: [dabo-users] biz objects, relations and grids 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 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
