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 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 Link to comment Share on other sites More sharing options...
alasoft Posted April 9, 2014 Author Share Posted April 9, 2014 Thanks !! Rober 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 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. 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. 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