RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTMLTableColumns.State Property

Indicates whether the individual column descriptors are generated dynamically or statically stored.

Pascal
property State: THTMLColumnState;
C++
__property THTMLColumnState State;

Set State to csDefault to indicate that the column descriptors should be generated dynamically. Dynamically generated column descriptors impose no special display attributes on the columns of the HTML table, and correspond exactly in order and number to the fields of the dataset. Setting State to csDefault replaces all the column descriptors in the collection with dynamically generated defaults. 

Set State to csCustom before customizing the column descriptors by adding display attributes, reordering the fields, adding columns for calculated fields, or including only a subset of the fields in the dataset. When State is csCustom, the column descriptors are saved with the TDSTableProducer object.

Note: Using the Columns editor to customize the column descriptors automatically sets State to csCustom.
 

 

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