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.

How do I make the entire ggc cells readonly/not editable at runtime

Thread ID:





59699 Apr 19,2007 05:38 PM Apr 20,2007 07:40 PM Windows Forms 3
Tags: Grouping
James Blibo
Asked On April 19, 2007 05:38 PM

I was to be able to toggle the state of the ggc at runtime from readonly to editable. How can I do this?

haneefm [Syncfusion]
Replied On April 19, 2007 07:52 PM

Hi James,

You can try this code.

this.grid.ReadOnly = true;


this.grid.TableDescriptor.Appearance.AnyCell.ReadOnly = true;

Best regards,

James Blibo
Replied On April 20, 2007 10:06 AM

I did not post the question correctly

I have specific columns that are initially editble and other columns that are readonly.

What I desire to to is to toggle make the entire grid readonly when in readonly mode but also revert back to the mixture of readonly and editable cells when the mode is editable

haneefm [Syncfusion]
Replied On April 20, 2007 07:40 PM

Hi James,

Please try the attached sample and let me know if this helps.

Best regards,


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.