JavaScript/jQuery DataGrid - export.texts

Configures the texts of export commands, buttons, and hints.

Type:

ExportTexts

exportAll

The text or hint of the command that exports all data.

Type:

String

Default Value: 'Export all data to {0}'

The {0} placeholder gets its value from the formats property. For example, if you specify formats: ['pdf'], then the shown text is Export all data to PDF.

If you allow users to export selected rows or if the toolbar is in compact mode, exportAll specifies the text of the command that exports all data.

DevExtreme HTML5 Data Grid Export All Text on Small Screen DevExtreme HTML5 Data Grid Export All and Selected Data Text

In other cases, this property specifies the Export button's hint.

DevExtreme HTML5 Data Grid Export All Text

exportSelectedRows

The text of the command that exports selected rows. Applies when the allowExportSelectedData property is true.

Type:

String

Default Value: 'Export selected rows to {0}'

The {0} placeholder gets its value from the formats property. For example, if you specify formats: ['pdf'], then the shown text is Export selected rows to PDF.

DevExtreme HTML5 DataGrid Export Selected Rows Text

exportTo

The hint of the Export button when the allowExportSelectedData property is true.

Type:

String

Default Value: 'Export'

DevExtreme HTML5 DataGrid Export To Text

When allowExportSelectedData is false, the exportAll text is used as the hint.