gordon Posted July 27, 2012 Posted July 27, 2012 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? Quote
Administrators Farshad Mohajeri Posted July 27, 2012 Administrators Posted July 27, 2012 You can use Columns[x].ReadOnly property. Quote
gordon Posted July 28, 2012 Author Posted July 28, 2012 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.. Quote
Administrators Farshad Mohajeri Posted July 30, 2012 Administrators Posted July 30, 2012 You will not be able to edit a readonly column. The editor won't be activated in a readonly column. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.