texts

Contains options that specify texts for the export-related commands and hints.

Type:

Object

Use these options to provide custom texts for the export-related commands and hints or when localizing the widget.

excelFormat

Deprecated

Use the exportAll option instead.

exportAll

Specifies the text of the command that exports all data.

Type:

String

Default Value: 'Export all data'

By default, to execute the "Export All Data" command, a user clicks DevExtreme DataGrid HTML5 Toolbar Exporting. In this case, the text assigned to the exportAll option appears in the hint of this button.

If you set the allowExportSelectedData option to true, DevExtreme DataGrid HTML5 Toolbar Exporting changes its behavior. Clicking on it now opens a drop-down menu containing the "Export All Data" command. In this case, the text applies to the command on this menu.

In an adapted state, the "Export All Data" command appears on the drop-down menu invoked by a click on DevExtreme.

exportSelectedRows

Specifies the text of the drop-down menu command that exports selected rows.

Type:

String

Default Value: 'Export selected rows'
NOTE
The above-mentioned command appears in the menu only if allowExportSelectedData option is true.

exportTo

Specifies the hint of the Export button when the allowExportSelectedData option is true.

Type:

String

Default Value: 'Export'

When the allowExportSelectedData option is true, a click on DevExtreme DataGrid HTML5 Toolbar Exporting opens a drop-down menu that allows a user to choose whether to export all data or selected rows only. In this case, the hint of this button is specified by the exportTo option.

When the allowExportSelectedData option is false, a click on DevExtreme DataGrid HTML5 Toolbar Exporting exports all data instantly. In this case, the hint is specified by the exportAll option.

exportToExcel

Deprecated

Use the exportAll option instead.

selectedRows

Deprecated

Use the exportSelectedRows option instead.