Vcl.DBGrids.TGridDataLink.DefaultFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DefaultFields: Boolean read GetDefaultFields;

C++

__property bool DefaultFields = {read=GetDefaultFields, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TGridDataLink

Description

Indicates whether the dataset's underlying field components are generated dynamically when the dataset is opened.

Read DefaultFields to determine whether or not a dataset uses dynamically generated field components or persistent field components. If DefaultFields is true, the dataset uses dynamically allocated field components. If DefaultFields is false, the dataset uses persistent field components or the custom field mapping contains unmapped fields.

If DefaultFields is false, the TCustomDBGrid may not show all the fields that are present in the underlying database table.

See Also