Table of Contents

TTableDefinition.ColumnFromId Method

Returns the column definition for an id, or returns a column with Id = -1 and name empty if the id doesn't exist.

Syntax

Namespace: FlexCel.Core

public TTableColumnDefinition ColumnFromId(Int32 aId, ExcelFile xls, Int32 tableSheet)

Parameters

<-> Parameter Type Description
aId Int32 Id for the column.
xls ExcelFile Excel file where the table is. you can set it to null to retrieve the actual value stored in the column.
If not null, this method will try to get the actual name in the cell and return that as the column name.
tableSheet Int32 Sheet where the table is.(1 based)

See also