Charmie
Charmie

Reputation: 2630

Configure all popup editor buttons in KendoGrid to display 'Save' or 'Add' instead of 'Update'

In a popup editor in KendoGrid, the default buttons (if not specified), are "Update" and "Cancel".

If you have a lot of popup editors in different pages, does Kendo provide a specific config file where we can write scripts that all popup editors must have a button of "Save" or "Add" and "Cancel" instead of having "Update" and "Cancel"?

Upvotes: 0

Views: 137

Answers (1)

Joe
Joe

Reputation: 5497

You can get at these at runtime per control with kendo.ui.<Widget-name>.prototype.options.messages and in the source at src/messages/kendo.messages.en-US.js. (en-US just an example, see the section on localization )

Upvotes: 1

Related Questions