RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSTableProducer.ColumnHeader Method

Returns the string of HTML <TH> tags that define the column headers for the table.

Pascal
function ColumnHeader: string; dynamic;
C++
__fastcall AnsiString ColumnHeader();

The table producer uses this protected method when it assembles its HTML table. For each THTMLTableColumn object listed in the Columns property, ColumnHeader looks up the string that labels it (using its Title property or the display name for the field if there is no title caption). ColumnHeader then creates a table header (<TH>) tag that describes the column label, including all the properties specified by the THTMLTableColumn object. 

 

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