[wxPython] Dynamic generation/modification of grid control

Hi Folks

1) I would like to generate the grid ctrl cols and rows dynamically and want
to do modifications.
Would is the sequence of methods for the same.

Right now I've tried:-
ClearGrid()
DeleteCols(0,GetNumberCols)
DeleteRows(0,GetNumberRows)

Then CreateGrid()

It seams these sequence crashed the app adn IDLE

2) Is it possibe to remove the rwo headings

Maharajan

1) I would like to generate the grid ctrl cols and rows dynamically and

want

to do modifications.

You probably want to create a custom grid table class that provides the data
for you.

Would is the sequence of methods for the same.

Right now I've tried:-
ClearGrid()
DeleteCols(0,GetNumberCols)
DeleteRows(0,GetNumberRows)

Then CreateGrid()

You can't create the grid more than once.

It seams these sequence crashed the app adn IDLE

2) Is it possibe to remove the rwo headings

grid.SetRowLabelSize(0)

ยทยทยท

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