[wxPython-users] Grid Cell Renderer

Rich Shepard rshepard at appl-ecosys.com
Wed Jan 2 12:07:27 PST 2008


On Wed, 2 Jan 2008, Mark Erbaugh wrote:

>> 2008/1/2, Mark Erbaugh <mark at microenh.com>:
>>         Is there a simple Grid Cell renderer that would allow me to
>>         simply convert the cell's value to a string? Or is there another
>>         place to convert the cell's data to a display string?

> The data is an integer that corresponds to the string. I have a dict that
> has the integer as the key and the string as the value.

Mark,

   Just out of curiosity, what is the context for this need? I'm trying
without success to picture the situation. Is there a reason why the string
cannot be displayed in the grid cell, or used in your code? You write that
you have a dictionary of enumerates, but don't explain why that's not
sufficient.

Thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863




More information about the wxpython-users mailing list