Search Results for

    Show / Hide Table of Contents

    TTableDefinition.ColumnFromName Method

    Returns the column definition for a given column name. If tableXls is null, then this method will return the stored column name. If not null and the table has headers, this method will try to get the column name from the cell value of the table headers in the Excel file.

    If the column name doesn't exist, this method will return a TTableColumnDefinition(null, -1);

    Syntax

    Namespace: FlexCel.Core

    public TTableColumnDefinition ColumnFromName(String columnName, ExcelFile tableXls, Int32 tableSheet)

    Parameters

    <-> Parameter Type Description
    columnName String Column name which we want to find.
    tableXls ExcelFile ExcelFile which contains the table. It can be null, and in this case the stored value of the header will be used. If not null, we will read the actual cell value in the file for the header, and return that.
    tableSheet Int32 Sheet where the table is inside tableXls (1 based).

    See also

    • TTableDefinition
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com