Jump to content

How to delete a column from a stringgrid?


eduardosuruagy

Recommended Posts

3 minutes ago, fcarvalho4 said:

procedure TMainForm.btn1Click(Sender: TObject);
begin
  UniStringGrid1.BeginUpdate;
 try
  UniStringGrid1.Columns.Delete(9);
  UniStringGrid1.ColCount := UniStringGrid1.ColCount - 1;
 finally
  UniStringGrid1.EndUpdate;
 end;
end;

unfortunately it doesn't work, it always takes the last column

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...