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(Object, Int32, Int32, ExternalDataSourceOptions) Method

Creates a table starting from the specified row and column, adds it to the collection and binds it to the data source using the specified options.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

Table Add(
    object dataSource,
    int rowIndex,
    int columnIndex,
    ExternalDataSourceOptions options
)

#Parameters

Name Type Description
dataSource Object

A data source object whose data should be retrieved in the worksheet.

rowIndex Int32

An integer that is the row index of the top left cell in the worksheet table.

columnIndex Int32

An integer that is the column index of the top left cell in the worksheet table.

options ExternalDataSourceOptions

An ExternalDataSourceOptions object that contains options used to establish binding.

#Returns

Type Description
Table

A Table object that is the newly created table.

See Also