change Column Header text got error

When I use following statement to change first column''s header text in a button click event, I got error saying "An Unhandled exception of type ''System.NullReferenceException'' occured in syncfusion.grid.grouping.dll". I am using GridGroupingControl. string sHeader="New Header"; gdBase.TableDescriptor.Column[0].HeaderText=sHeader Any idea? TIA

1 Reply

AD Administrator Syncfusion Team September 30, 2004 05:51 PM UTC

I tried to see this problem in this little sample, and could not see it using 2.1.0.9. GGCHeaderText_5639.zip What version are you using? What is the state of your groupinggrid when you press the button (is the column visible or not? are things grouped by ths column or not? that kind of thing...)?

Loader.
Up arrow icon