Hi,
How can I set the column width to 100%. I only have one visible column. I have tried:
procedure TForm1.FormResize(Sender: TObject);
begin
TMSFNCDataGrid1.BeginUpdate;
TMSFNCDataGrid1.Columns[1].Width:=TMSFNCDataGrid1.Width;
TMSFNCDataGrid1.EndUpdate;
end;
But it has no effect.
Thanks,
Ken