New to KendoReactStart a free 30-day trial

ExcelExport

Component

Represents the KendoReact ExcelExport component.

A Functional Component.

Definition

Package:@progress/kendo-react-excel-export

Properties

The props of the ExcelExport component.

Methods

Saves the data to Excel.

Parameters:exportData?any[] | ExcelExportData | WorkbookOptions

An optional parameter. Can be the data that will be exported or the WorkbookOptions.

columns?ExcelExportColumnProps[] | ReactElement​<ExcelExportColumnProps, string | JSXElementConstructor​<any>>[]

An optional parameter. If present, it will be used instead of the columns prop or the child column components.

Returns a promise which will be resolved with the file data URI.

Parameters:exportData?any[] | ExcelExportData | WorkbookOptions

The optional data or the WorkbookOptions that will be used to generate the data URI.

columns?any[]
Returns:

Promise​<string>

  • The promise that will be resolved by the file data URI.

Based on the specified columns and data, returns WorkbookOptions.

Parameters:exportData?any[] | ExcelExportData

The optional data that will be exported.

externalColumns?ExcelExportColumnProps[] | ReactElement​<ExcelExportColumnProps, string | JSXElementConstructor​<any>>[]

The optional columns that will be used.

Returns:

WorkbookOptions

  • The workbook options.