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 a grid cell as read-only without having the cursor when you click on the cell?

To make a grid cell as read-only, without having the cursor while clicking on the cell, you can cancel the TableControlCurrentCellStartEditing event.

In the following code, the cursor is disabled when you click on the RecordFieldCell in the Grid.

C#

VB

 

Note: When you are using the browse only property, you can achieve the same behavior but you cannot apply filtering to the grid.

Sample Link:

C#: Read-only

VB: Read-only

Article ID: Published Date: Last Revised Date: Platform: Control:
4498 04/19/2015 04/19/2015 Windows Forms GridGroupingControl
Tags:
Did you find this information helpful?
Comments
Nagaraju Dhulipalla Aug 21, 2018
The cursor still appears even after using the code that is explained above

can you please help me to write the code to

"
to make a grid cell as read-only without having the cursor when you click on the cell?
"

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