Page 1 of 1

wxGrid header - how to remove

Posted: Sat Mar 17, 2007 12:48 pm
by warlock24

How can I remove header row and first column from wxGrid? :roll:

Posted: Sat Mar 17, 2007 8:26 pm
by Peterj
Setting the header row height to zero and the column row width to zero will probably be the easiest.

Posted: Tue Aug 28, 2007 9:13 am
by leekeanloon
Hi, may I know how to set the header col size? I try using wxGrid->SetColSize(-1,0);

to hide the header column, but index 0 refer to the first column while -1 does not refer to the header column.


Posted: Tue Aug 28, 2007 10:29 am
by Peterj
Hi, to hide the label header row, use:

Code: Select all

to hide the label column use:

Code: Select all



Posted: Tue Aug 28, 2007 2:59 pm
by leekeanloon
it works. thank you.