texts

Contains options that specify texts for editing-related UI elements.

Type: Object
Show Example:
AngularJS
Knockout
jQuery

In this example, several options of the editing | texts configuration object are changed.


                                    

                                    

In this example, several options of the editing | texts configuration object are changed.


                                    

                                    

In this example, several options of the editing | texts configuration object are changed.


                                    

                                    

addRow

Specifies text for a hint that appears when a user pauses on the global "Add" button. Applies only if editing | allowAdding is true.

Type: String
Default Value: 'Add a row'

cancelAllChanges

Specifies text for a hint that appears when a user pauses on the "Discard" button. Applies only if editing | mode is "batch".

Type: String
Default Value: 'Discard changes'

cancelRowChanges

Specifies text for a button that cancels changes in a row. Applies only if editing | allowUpdating is true and editing | mode is "row".

Type: String
Default Value: 'Cancel'

Show Example:
AngularJS
Knockout
jQuery

In this example, the editing | texts | cancelRowChanges option is used to alter the text of the button that cancels changes, which were made in a grid row. To see the altered text, click one of the "Edit" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | cancelRowChanges option is used to alter the text of the button that cancels changes, which were made in a grid row. To see the altered text, click one of the "Edit" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | cancelRowChanges option is used to alter the text of the button that cancels changes, which were made in a grid row. To see the altered text, click one of the "Edit" buttons accompanying each grid row.


                                    

                                    

confirmDeleteMessage

Specifies a message that prompts a user to confirm deletion.

Type: String
Default Value: 'Are you sure you want to delete this record?'

A window that displays this message appears when a user tries to delete a row, or when you call the deleteRow(rowIndex) method in code. To prevent this window from appearing, set this option to an empty string.

See Also
Show Example:
AngularJS
Knockout
jQuery

In this example, the editing | texts | confirmDeleteMessage option is used to alter the text appearing in a confirmation window. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | confirmDeleteMessage option is used to alter the text appearing in a confirmation window. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | confirmDeleteMessage option is used to alter the text appearing in a confirmation window. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

confirmDeleteTitle

Specifies a title for the window that asks a user to confirm deletion.

Type: String
Default Value: ''
See Also
Show Example:
AngularJS
Knockout
jQuery

In this example, the editing | texts | confirmDeleteTitle option is used to alter the text appearing in the title of a confirmation window. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | confirmDeleteTitle option is used to alter the text appearing in the title of a confirmation window. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | confirmDeleteTitle option is used to alter the text appearing in the title of a confirmation window. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

deleteRow

Specifies text for buttons that delete rows. Applies only if allowDeleting is true.

Type: String
Default Value: 'Delete'

Show Example:
AngularJS
Knockout
jQuery

In this example, the editing | texts | deleteRow option is used to alter the text of the button that deletes a row from the grid.


                                    

                                    

In this example, the editing | texts | deleteRow option is used to alter the text of the button that deletes a row from the grid.


                                    

                                    

In this example, the editing | texts | deleteRow option is used to alter the text of the button that deletes a row from the grid.


                                    

                                    

editRow

Specifies text for buttons that switch rows into the editing state. Applies only if allowUpdating is true.

Type: String
Default Value: 'Edit'

Show Example:
AngularJS
Knockout
jQuery

In this example, the editing | texts | editRow option is used to alter the text of the button that edits a grid row.


                                    

                                    

In this example, the editing | texts | editRow option is used to alter the text of the button that edits a grid row.


                                    

                                    

In this example, the editing | texts | editRow option is used to alter the text of the button that edits a grid row.


                                    

                                    

saveAllChanges

Specifies text for a hint that appears when a user pauses on the global "Save" button. Applies only if editing | mode is "batch".

Type: String
Default Value: 'Save changes'

saveRowChanges

Specifies text for a button that saves changes made in a row. Applies only if allowUpdating is true.

Type: String
Default Value: 'Save'

Show Example:
AngularJS
Knockout
jQuery

In this example, the editing | texts | saveRowChanges option is used to alter the text of the button that saves changes, which were made in a grid row. To see the altered text, click one of the "Edit" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | saveRowChanges option is used to alter the text of the button that saves changes, which were made in a grid row. To see the altered text, click one of the "Edit" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | saveRowChanges option is used to alter the text of the button that saves changes, which were made in a grid row. To see the altered text, click one of the "Edit" buttons accompanying each grid row.


                                    

                                    

undeleteRow

Specifies text for buttons that recover deleted rows. Applies only if allowDeleting is true and editing | mode is "batch".

Type: String
Default Value: 'Undelete'

Show Example:
AngularJS
Knockout
jQuery

In this example, the editing | texts | undeleteRow option is used to alter the text of the button that restores a removed row in the batch edit mode. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | undeleteRow option is used to alter the text of the button that restores a removed row in the batch edit mode. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

In this example, the editing | texts | undeleteRow option is used to alter the text of the button that restores a removed row in the batch edit mode. To see the altered text, click one of the "Delete" buttons accompanying each grid row.


                                    

                                    

validationCancelChanges

Specifies text for a hint appearing when a user pauses on the button that cancels changes in a cell. Applies only if editing | mode is "cell" and data validation is enabled.

Type: String
Default Value: 'Cancel changes'
See Also