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

Question about insert row and columns that are read only

Thread ID:





96397 Sep 9,2010 05:50 PM UTC Sep 17,2010 05:03 AM UTC WinForms 3
Tags: GridControl
David Mecteaux
Asked On September 9, 2010 05:50 PM UTC

I have a GridGroupingControl that has 10 columns. Three of these columns are read only. I also have a insert row. I noticed that you can't type anything in the insert row under those three columns. Is there a way to allow the user to type in that insert row under those three columns?

Jisha Joy [Syncfusion]
Replied On September 13, 2010 12:20 PM UTC

Hi David,

Thank you for using Syncfusion products.

You could achieve the desired behavior by handling the QueryCellStyleInfo event and disabling the ReadOnly prperty for the required cells. See the code:

void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
if (e.TableCellIdentity.ColIndex == 2 && e.TableCellIdentity.RowIndex ==6)
e.Style.ReadOnly = false;



David Mecteaux
Replied On September 16, 2010 12:25 PM UTC

Thank you. That was very helpful.

Christopher Issac Sunder K [Syncfusion]
Replied On September 17, 2010 05:03 AM UTC

Hi David,

Glad to know that the issue get resolved.

Thanks for using Syncfusion products.



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

or the page will be automatically redirected to 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