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 to make the cells ReadOnly in GridControl?

In GridControl, you can make the cell as read only by setting the ReadOnly Property in the GridModel or by using the QueryCellInfo Event

Using GridModel

C#

 

VB

 

Using QueryCellInfo

C#

 

VB

 

The following screenshot displays the grid after applying the properties.

Figure 1: Make the cells into ReadOnly

C:\Users\Giftline\Desktop\img.jpg Note: The read-only cells are shown in different colors

Sample Links

CS: ReadOnlyCells

VB: ReadOnlyCells

Article ID: Published Date: Last Revised Date: Platform: Control:
3793 02/09/2015 02/12/2016 Windows Forms GridControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.