Hi @all,
I've set special ColAttributes to a grid by:
grid.SetCollAttr(actCol, colAttr)
Now I want to read these Attributes is there a simple way like:
grid.GetColAttr(actCol) # e.g., knowing this method does not
exists
Or is the only way to iterate over the cells??
Thanx and best regards,
Marcus.
Robin
2
mkimpenhaus@plus.de wrote:
Hi @all,
I've set special ColAttributes to a grid by:
grid.SetCollAttr(actCol, colAttr)
Now I want to read these Attributes is there a simple way like:
grid.GetColAttr(actCol) # e.g., knowing this method does not exists
Something like this should do it:
provider = grid.GetTable().GetAttrProvider()
attr = provider.GetAttr(row, col, wxGridCellAttr.Col)
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!