Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy