Skip to main content
All docs
V19.1
.NET Framework 4.5.2+
Row

TableCollection.Add(Range, String, Boolean) Method

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

Namespace: DevExpress.Spreadsheet

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

Declaration

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

Parameters

Name Type Description
range Range

A Range 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