belo Posted August 13, 2013 Posted August 13, 2013 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
eduardo.junqueira Posted August 13, 2013 Posted August 13, 2013 Oi Eduardo, tenta alem do visible, ajusta largura, o DBGRID do delphi7 acontecia mesma coisa.
belo Posted August 14, 2013 Author Posted August 14, 2013 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 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now