Vcl.DBGrids.TDBGridColumnsState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDBGridColumnsState = (csDefault, csCustomized);

C++

enum DECLSPEC_DENUM TDBGridColumnsState : unsigned char { csDefault, csCustomized };

Properties

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

Description

TDBGridColumnsState indicates whether the columns in a DB grid dynamically reflect dataset fields.

The following table lists the possible values.



Value Meaning

csDefault

Columns in the data grid are generated dynamically from information in the grid's associated dataset. The dataset fields determine the appearance, order, and other properties of the columns. Changes made to the columns are reflected in the dataset fields, and vice versa.

csCustomized

Properties of the data-grid columns are independent of the associated dataset.