messages Object
Defines the text of the command buttons that are shown within the Grid. Used primarily for localization.
Example - change the messages
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "name" },
{ field: "age" },
{ command: ["edit", "destroy"] }
],
dataSource: [
{ name: "Jane Doe", age: 30 },
{ name: "John Doe", age: 33 }
],
toolbar: ["create", "save", "cancel"],
messages: {
commands: {
cancel: "Cancel changes",
canceledit: "Cancel",
create: "Add new record",
destroy: "Delete",
edit: "Edit",
save: "Save changes",
select: "Select",
update: "Update"
}
}
});
</script>
Related Properties
- messages.commands
- messages.commands.cancel
- messages.commands.canceledit
- messages.commands.create
- messages.commands.destroy
- messages.commands.edit
- messages.commands.excel
- messages.commands.save
- messages.commands.search
- messages.commands.update
- messages.noRecords
- messages.expandCollapseColumnHeader
- messages.filterCellTitle
- messages.groupingHeaderLabel
- messages.toolbarLabel