On 8/4/10 5:35 AM, Ed Leafe wrote:
> On Aug 4, 2010, at 4:11 AM, John Fabiani wrote:
>
>> Like I said this has not been tested and I could be way off with my thinking.
>
>
>       Renderers are not the objects on the grid; they are simply instructions 
> for drawing on the cell. Editors, OTOH, are instances of a class, and could 
> respond to events. We've subclassed the wx.grid.GridCellChoiceEditor into our 
> custom GridListEditor; perhaps something similar could be done with the 
> wx.grid.GridCellBoolEditor.

We should talk about this on dabo-dev. I've long had ideas for making a 
VFP-like API 
for this that totally hides the fact that renderers and editors exist, and 
allows the 
developer to simply add a dCheckBox to a dColumn, for instance. All the basic 
data-aware controls would be supported, and you could use your own subclasses 
of 
those controls both on forms and inside the grid.

IOW, I believe renderers and editors are too complex to require the appdev to 
have to 
think about them, and that Dabo could provide a clean wrapping of them making 
for a 
very slick dGrid.

But, it would require some work (understatement) and I don't tend to use 
editable 
grids anyway so I don't have much inclination to do it myself (unless someone 
were to 
hire me to do it, perhaps).

Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to