insertSheet

Inserts a sheet with the specified options.

Parameters

options Object

The configuration options for the sheet.

options.rows Number

The number of rows in this sheet.

options.columns Number

The number of columns in this sheet.

options.rowHeight Number

The row height in this sheet in pixels.

options.columnWidth Number

The column width in this sheet in pixels.

options.headerHeight Number

The header row height in pixels.

options.headerWidth Number

The header column width in pixels.

options.dataSource kendo.data.DataSource

The data source for this sheet.

options.data Object

The sheet state and data as Object. The schema follows the same structure as the widget configuration.

Returns

kendo.spreadsheet.Sheet - The inserted sheet.

In this article