Edit this page

columnMenuOpen

Fired when the grid column menu is opened, after the animations are completed.

The event handler function context (available via the this keyword) will be set to the widget instance.

Event Data

e.container jQuery

The jQuery object representing column menu element.

e.field String

The field of the column for which the column menu is opened.

e.sender kendo.ui.Grid

The widget instance which fired the event.

Example - subscribe to the "columnMenuOpen" event and open "columns" submenu

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "id" },
    { field: "name" },
    { field: "phone" }
  ],
  dataSource: [
    { name: "Jane Doe", id: 1, phone: "88443558741" },
    { name: "John Doe", id: 2, phone: "88443558751" }
  ],
  filterable: true,
  columnMenu: true,
  columnMenuOpen: function(e) {
    var menu = e.container.children().data("kendoMenu");
    menu.open(menu.element.find("li:first"));
  },
});
</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