Jump to content

Recommended Posts

Posted

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

  • 5 months later...
Posted

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

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...