Specifies options for exporting grid data.
Indicates whether to allow end users to export not only the data displayed in the grid, but the selected rows only.
When this option is set to true, the Selected rows item is added to the menu invoked when pressing the Export button. This allows end users to choose whether to export all the data presented in the grid or only the selected ones.
Indicates if the export feature is enabled in the grid.
Specifies whether to enable Excel filtering for the exported data in the resulting XLSX file.
Specifies whether to enable word wrapping for the exported data in the resulting XLSX file.
When this option is not set, the value of the grid's wordWrapEnabled option is used.
Specifies a default name for the file to which grid data is exported.
Specifies the URL of the server-side proxy that streams the resulting file to the end user to enable export in IE8, IE9 and Safari browsers.
Generally, exporting is performed using client-side API in browsers. However, the IE8, IE9 and Safari (integrated in Mac OS) browsers do not implement an API for saving files. In this instance, the dxDataGrid widget can POST the content to a server-side proxy, which will stream the file back to the end user. To enable this functionality, set the export | proxyUrl option to the proxy, which will stream the file to the end user. When implementing the proxy, take the following information into account.
- Your proxy will receive a POST request with the following parameters in the request body: fileName, contentType (the MIME type of the file) and base64 (the base-64 encoded file content).
- The proxy should return the decoded file with the "Content-Disposition" header set to attachment; filename="
The sample proxy implementation for ASPx-based and PHP-based web servers is presented in the Export article.
Contains options that specify texts for the export-related commands and hints.
Use these options to provide custom texts for the export-related commands and hints or when localizing the grid.