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

C#

VB

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.

C#

VB

Using QueryCellStyleInfo Event

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

C#

VB

Sample Link

C#: RestrictEditingInGGC

VB: RestrictEditingInGGC

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

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