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.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

59699 Apr 19,2007 09:38 PM UTC Apr 20,2007 11:40 PM UTC Windows Forms 3
loading
Tags: Grouping
James Blibo
Asked On April 19, 2007 09:38 PM UTC

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 11:52 PM UTC

Hi James,

You can try this code.

this.grid.ReadOnly = true;

//or

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

Best regards,
Haneef

James Blibo
Replied On April 20, 2007 02:06 PM UTC

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 11:40 PM UTC

Hi James,

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

Best regards,
Haneef

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

;