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.
Unfortunately, activation email could not send to your email. Please try again.

change Column Header text got error

Thread ID:





19653 Sep 30,2004 12:49 PM Sep 30,2004 01:51 PM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On September 30, 2004 12:49 PM

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

Administrator [Syncfusion]
Replied On September 30, 2004 01:51 PM

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...)?


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.