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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to name (not bounded) gridControl''s column

Thread ID:





90057 Sep 15,2009 01:30 PM UTC Sep 16,2009 12:01 PM UTC WinForms 1
Tags: Tools
Asked On September 15, 2009 01:30 PM UTC

Hi, everyone

I'd like to know how can I name gridControl's column.
It needs to be something simple like naming column of not bounded datagridview control in microsoft V.S (something like: myGrid.Columns(2).Name = "clmMyColumnName3").

Thanks in advance :)

My bet was grdMyGrid.ColStyles(3).Name = "clmMyColumnName3", but it hadn't worked.

Rajadurai C [Syncfusion]
Replied On September 16, 2009 12:01 PM UTC

Hi Allon,

Thanks for your interest in Syncfusion Products.

The gridcontrol is an unbound one. Hence it is not possible to set column name explicitly. This grid just displays what the binded data has. In GridGroupingControl and GridDataBoundGrid, this can be achieved.

this.gridGroupingControl1.TableDescriptor.Columns[0].Name = "CustomName";
this.gridDataBoundGrid1.GridBoundColumns[0].HeaderText = "CustomName";



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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