Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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