Web.DBWeb.THTMLTableColumns.State

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property State: THTMLColumnState read GetState write SetState;

C++

__property THTMLColumnState State = {read=GetState, write=SetState, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Web.DBWeb.pas
Web.DBWeb.hpp
Web.DBWeb THTMLTableColumns

Description

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

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.

See Also