jrp Posted March 13, 2022 Share Posted March 13, 2022 Hello, How to prevent editing of some rows in UniDBGrid by checking the field value of the current record? Something like: if UniDBGrid1.DataSource.DataSet.FieldByName('id').AsInteger=100 then begin //prevent editing end; Where to implement that code? Thanks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 13, 2022 Share Posted March 13, 2022 52 minutes ago, jrp said: Where to implement that code? Hello, This post may help you: 1 Quote Link to comment Share on other sites More sharing options...
jrp Posted March 13, 2022 Author Share Posted March 13, 2022 Thank you Sherzod, this is what I need. It works! 1 Quote Link to comment Share on other sites More sharing options...
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.