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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column Header Text Required

Thread ID:

Created:

Updated:

Platform:

Replies:

33368 Aug 18,2005 01:04 PM UTC Aug 18,2005 02:36 PM UTC WinForms 3
loading
Tags: GridControl
Vinay
Asked On August 18, 2005 01:04 PM UTC

We are using a DataBoundGrid, and populating columns dynamically Adding / Removing. while doing so we require to store the col header information, can anyone suggest me how to go abt it. Thanks

Administrator [Syncfusion]
Replied On August 18, 2005 01:58 PM UTC

You get the column information from either grid.GridBoundColumns or grid.Binder.InternalColumns depending upon whether you have explicilty added GridBoundColumns to your grid. I am not sure what information you want to track, but GridBoundColumn.HeaderText will give you the header text and GridBondColumn.MappingName will give you the column name.

Vinay
Replied On August 18, 2005 02:29 PM UTC

Thanks Clay grid.Binder.InternalColumns works for me, One more question, how can i find out whether that columns is hidden or not. >You get the column information from either grid.GridBoundColumns or grid.Binder.InternalColumns depending upon whether you have explicilty added GridBoundColumns to your grid. > >I am not sure what information you want to track, but GridBoundColumn.HeaderText will give you the header text and GridBondColumn.MappingName will give you the column name.

Administrator [Syncfusion]
Replied On August 18, 2005 02:36 PM UTC

You can check grid.Model.Cols.Hidden or grid.Model.ColWidths depeneing on whether you hid the column by setting the Hidden property or by setting the ColWidth=0.

CONFIRMATION

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.

Warning Icon 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.Close Icon

;