Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Disabling column editing or selecting
posted

In my grid I have a set of records display along with the primary key, which is an identity column in SQLServer.  Since the values are determined by the DB, I do not want the user to be able to enter data in this field. 

 Currently I set the column["x"].AutoEdit property = false.  This prevents data from being entered but still seems a bit confusing to the user.  They can click on the column and an edit box shows up, seemingly allowing them to enter data (keystrokes are not recorded though, which is good).  I'd prefer to have the column displayed but disabled.  So, they would not be able to even click in that column.  Is this possible?

Parents
No Data
Reply Children
No Data