main logo
Subject: Re: [dabo-users] How can I use a class in a cell of a grid
Author: johnf
Posted: 2007/06/29 11:48:35
 
View Entire Thread
New Search


On Friday 29 June 2007 09:42, Ed Leafe wrote:
> On Jun 29, 2007, at 12:28 PM, johnf wrote:
> > How can I use a class in a cell of a grid. I have a class that
> > changes the
> > display but always returns a 'int". I noticed that dGrid uses
> > renderer
> > classes. Does that mean I have to write a special renderer class
> > to make
> > this work?
>
> Yes. Renderers and Editors control the display of grid cells. See
> the gridRenderers.py file in the uiwx directory for examples.
>
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com
Is there an example of using properties:
CustomRendererClass
CustomEditorClass
CustomEditors

I thought someone had provided code that demo'd using a listbox? But I can't
find it.

--
John Fabiani



 
©2007 johnf
<-- Prior Message New Search Next Message -->