Developer

DataSource

Identify DataSource.

property DataSource: TDataSource read FDataSource write SetDataSource;
If DataSource component with active DataSet is set and grid is empty, columns will be automatically added.

In design-time "Add Fields" dialog will be shown. This dialog allows choosing column type for each field.

See also