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

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

3 Replies

HA haneefm Syncfusion Team 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


JB James Blibo 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


HA haneefm Syncfusion Team 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

Loader.
Up arrow icon