Initializing the TTMSFNCDataGrid.Columns property

Hi,

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.