Table of Contents

TLinqDataTable<T>.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, VirtualDataTable.GetColumnName will be used.

Syntax

Namespace: FlexCel.Report

public override String GetColumnCaption(Int32 columnIndex)

Parameters

<-> Parameter Type Description
columnIndex Int32 Column index returned by VirtualDataTable.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 VirtualDataTable.GetColumn

See also