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

How can I restrict the editing option of the grid cell?

You can restrict the editing option of the current cell by using the following methods. The AllowEdit, ReadOnly and CurrentCellStartEditing event are used to disable the editing of the grid cell.

Using AllowEdit Property

By using this property, the current cell enters to the edit mode but you cannot edit the content of it.



Using CurrentCellStartEditing Event

This event triggers while the cell is entering to the edit mode. By cancelling this event you can prevent the editing of the grid cell.



Using QueryCellStyleInfo Event

By setting the ReadOnly property value as true, you cannot change the content of the cell.



Sample Link

C#: RestrictEditingInGGC

VB: RestrictEditingInGGC

Article ID: Published Date: Last Revised Date: Platform: Control:
4778 05/05/2015 05/05/2015 WinForms GridGroupingControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

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