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 05:51 PM UTC

I tried to see this problem in this little sample, and could not see it using 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...)?

Live Chat Icon For mobile
Up arrow icon