alasoft Posted April 7, 2014 Share Posted April 7, 2014 Hi everybody .. Apologyze if this topic has been discussed before .. but I didn' find it in the forum. The question is: How I enable/disable specific columns editing in TUniDbGrid (ie: I want the user can only edit columns 3 and 5, for example but NOT columns 1, 2 and 4) Thanks everybody ! Rober Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 8, 2014 Administrators Share Posted April 8, 2014 Columns[x].ReadOnly->True Quote Link to comment Share on other sites More sharing options...
alasoft Posted April 9, 2014 Author Share Posted April 9, 2014 Thanks !! Rober Quote Link to comment Share on other sites More sharing options...
EooN Posted September 10, 2014 Share Posted September 10, 2014 Columns[x].ReadOnly->True it does not work when the call in the event DataSet.AfterScroll procedure TfrmAct.qrySCAfterScroll(DataSet: TDataSet); begin gridRes.Columns[0].ReadOnly:=not DataSet.FieldValues['Count']=0 end; WebMode Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 10, 2014 Administrators Share Posted September 10, 2014 Yes, it does not work if you call it in in AfterScroll event. In uniGUI not all properties can be changed on the fly. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 10, 2014 Administrators Share Posted September 10, 2014 We may add this feature in next build. 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.