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

GridControl Editable column

Thread ID:





72544 Mar 26,2008 08:22 AM UTC Mar 28,2008 08:42 AM UTC WinForms 1
Tags: GridControl
Asked On March 26, 2008 08:22 AM UTC

How can I set some columns of my GridControl to Editable ?


Administrator [Syncfusion]
Replied On March 28, 2008 08:42 AM UTC

Hi Simon ,

Thanks for the interest in Syncfusion products.

If your intention is to set the Column Header of the GridControl editable, then you will need to change the CellType from "Static" to "TextBox". Please refer the code snippet below that shows how you can set the celltype of Textbox.

GridStyleInfo style = this.gridControl1[0, 2];
style.CellType = "TextBox";
style.CellAppearance = GridCellAppearance.Raised;
this.gridControl1.AllowSelection &= ~GridSelectionFlags.Column;

Please refer the sample in the below link that illustrates the above.


Please let me know if you have any questions.



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