Skip to main content
Row

TableCollection.Add(CellRange, String, Boolean) Method

Creates a table including the specified range of cells and adds it to the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

Table Add(
    CellRange range,
    string name,
    bool hasHeaders
)

Parameters

Name Type Description
range CellRange

A CellRange object that specifies a cell range to be included in the table.

name String

A String value that specifies the table name. This value is assigned to the Table.Name property.

hasHeaders Boolean

A Boolean value that indicates whether the top row of the specified cell range will be the table header row.

Returns

Type Description
Table

A Table object that is the newly created table with the specified name.

See Also