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

Platform: WinForms |
Control: GridGroupingControl |
Published Date: April 19, 2015 |
Last Revised Date: April 19, 2015
Tags: readonly

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

ADD COMMENT
You must log in to leave a comment
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

Please sign in to access our KB

This page will automatically be redirected to the 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