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 Quote
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. Quote
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 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.