[wxPython-users] changing the columns names in the spreadsheet

Robin Dunn robin at alldunn.com
Mon Oct 1 12:58:37 PDT 2007


Ali Santacruz wrote:
> 
> Hi all,
> 
> I am using the CSheet class to create a spreadsheet to display the 
> digital values of an image (part of the code is below),
> 
> My problem is that the names of the columns goes like 'A' 'B' 'C' ... 
> but I want to display them as numbers, as the names of the rows appear.
> 
> Is it possible to change the names of the columns from letters to 
> numbers? How can I do it?

	theGrid.SetColLabelValue(col, text)


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list