gordon Posted July 27, 2012 Share 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? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 27, 2012 Administrators Share Posted July 27, 2012 You can use Columns[x].ReadOnly property. Link to comment Share on other sites More sharing options...
gordon Posted July 28, 2012 Author Share 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.. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 30, 2012 Administrators Share Posted July 30, 2012 You will not be able to edit a readonly column. The editor won't be activated in a readonly column. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now