Edit this page

messages.expandCollapseColumnHeader String (default: "")

Allows the customization of the text in the column header for the expand or collapse columns. Sets the value to make the widget compliant with the web accessibility standards.

Example

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" },
    { field: "age" }
  ],
  dataSource: {
    data: [
      { name: "Jane Doe", age: 30, city: "London" },
      { name: "John Doe", age: 33, city: "Berlin" }
    ]
  },
  detailInit: function (e) {
    e.detailCell.text("City: " + e.data.city);
  },
  height: 200,
  messages: {
    expandCollapseColumnHeader: "E/C"
  }
});
</script>