TVirtualDataTable.GetColumnCaption Method
Returns the column caption for a column identifier. This method is used on generic dataset to write the header column. For most uses, GetColumnName will be used.
Syntax
Unit: FlexCel.Report
function TVirtualDataTable.GetColumnCaption(const columnIndex: Integer): string; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | columnIndex | Integer | Column index returned by GetColumn |
Returns
The name of the column at columnIndex. If the columnIndex is not valid it should throw an Exception, since this method will only be called for columnIndexes returned by GetColumn