RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DBGrids.TDBGridColumnsState Enumeration

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

Pascal
TDBGridColumnsState = (
  csDefault,
  csCustomized
);
C++
enum TDBGridColumnsState {
  csDefault,
  csCustomized
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!