We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 01:51 PM

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.
Live Chat Icon For mobile
Up arrow icon