ExcelExportComponent
Represents the Kendo UI Excel Export component for Angular. Configures the settings for the Excel export of the Kendo UI Grid.
Selector
kendo-excelexport
Export Name
Accessible in templates as #kendoExcelExportInstance="kendoExcelExport"
Inputs
Name | Type | Default | Description |
---|---|---|---|
collapsible |
|
Specifies if groups are collapsible in the excel file. | |
creator? |
|
The author of the workbook. | |
data |
|
The exported data. If grouped, the data must be structured as described by the
| |
date? |
|
The date on which the workbook is created.
The default value is | |
fileName |
|
|
Specifies the name of the file that is exported to Excel. |
filterable |
|
Enables or disables the column filtering in the Excel file (see example). | |
forceProxy |
|
If | |
group |
|
The exported data groups. The groups must be compatible with the
| |
headerPaddingCellOptions |
|
The options of the cells that are inserted before the header cells to align the headers and the column values when the data is grouped (see example). | |
paddingCellOptions |
|
The options of the cells that are inserted before the data, group, and footer cells to indicate the group hierarchy when the data is grouped (see example). | |
proxyURL |
|
The URL of the server-side proxy which will stream the file to the end user. When the browser is not capable of saving files locally—for example, Internet Explorer 9 and earlier, and Safari—a proxy is used. The implementation of the server-side proxy has to be done by you. The proxy receives a POST request with the following parameters in the request body:
The proxy is expected to return the decoded file with the Content-Disposition header set to |
Methods
save | ||||||
---|---|---|---|---|---|---|
Saves the data to Excel. | ||||||
|
toDataURL | ||||||
---|---|---|---|---|---|---|
Returns a promise which will be resolved with the file data URI (see example). | ||||||
| ||||||
|
workbookOptions | ||||||
---|---|---|---|---|---|---|
Based on the specified columns and data, returns
| ||||||
| ||||||
|