Jump to content

Recommended Posts

Posted
How to enable and disable a column in UniDBGrid at runtime?
 
The propriendade Visible Column does not readjust when reactive.
 
UniDBGrid1.Columns [1]. Visible
 
 
Eduardo

 

Posted

Solved as follows:

 

procedure TMyForm.UniCheckBox1Click(Sender: TObject);
begin
  if TUniCheckBox(Sender).Checked then
    UniDBGrid1.Columns.Items[1].Visible := True
  else
    UniDBGrid1.Columns.Items[1].Visible := False;
end;

 

Thanks!

 

Eduardo

  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...