The Columns[0].Header and Width values remain default.
The Columns.Clear method cannot delete settings.
How can I delete the Columns property values?
TMSFNCDataGrid.Version is 0.9.0.3.
TMS FNC UI Pack version is 6.0.0.2.
Thanks for the feedback.
You can clear the data in the grid by calling
TMSFNCDataGrid1.ClearData;
Do you want to clear all information in the grid? Use
TMSFNCDataGrid1.Clear;
A bit of explanation is required: The Columns collection is not mandatory, it's automatically controlled by the grid, but does not control the data in the grid. The Columns are a means to control how the cells look like. It's possible to just completely ignore the columns and use the grid directly with ColumnCount & Cells properties for example. Clearing the columns will just remove Column information applied to the cells, not the actual cell data itself. Since at designtime, the grid is initialized with a sample, the data is stored inside the grid.