jrp Posted March 13, 2022 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
Sherzod Posted March 13, 2022 Posted March 13, 2022 52 minutes ago, jrp said: Where to implement that code? Hello, This post may help you: 1 Quote
jrp Posted March 13, 2022 Author Posted March 13, 2022 Thank you Sherzod, this is what I need. It works! 1 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.