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 |