Jump to content

Lock Columns on Grid


gordon

Recommended Posts

Hi,

Ive built my first app and its working ok..Its a very simple order entry program. In my grid, there is really only one column that a user can edit.. its the quanity field.. So, is there any way to keep a user from trying to edit the other columns? I mean, its set to read only on those columns, but it would be nice if they were locked, so they could only scroll down.. Even possible in a browser?

Link to comment
Share on other sites

You can use Columns[x].ReadOnly property.

 

I did that, and it works.. but it still makes you think you can edit it.. but just doesnt save it.. Im ok with it.. but it would be nice if you could lock the first x columns, like a normal grid in delphi.. Maybe it cant be done..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...