alasoft Posted April 7, 2014 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
Administrators Farshad Mohajeri Posted April 8, 2014 Administrators Posted April 8, 2014 Columns[x].ReadOnly->True Quote
EooN Posted September 10, 2014 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
Administrators Farshad Mohajeri Posted September 10, 2014 Administrators 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
Administrators Farshad Mohajeri Posted September 10, 2014 Administrators Posted September 10, 2014 We may add this feature in next build. 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.