Correct me if I am wrong Robin, but you can detroy it and then re-create it.
Lynndon Harnell
···
-----Original Message-----
From: Robin Dunn [SMTP:robin@alldunn.com]
Sent: Thursday, 8 November 2001 04:30
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] Dynamic generation/modification of grid
control>
> 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 headingsgrid.SetRowLabelSize(0)
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users