Edit this page

filterMenuOpen

Fired when the grid filter 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 filter menu form element.

e.field String

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

e.sender kendo.ui.Grid

The widget instance which fired the event.

Example - subscribe to the "filterMenuOpen" event and focus second input

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" }
  ],
  dataSource: [
    { name: "Jane Doe"},
    { name: "John Doe"}
  ],
  filterable: true,
  filterMenuOpen: function(e) {
    if (e.field == "name") {
      e.container.find(".k-textbox:last").focus();
    }
  },
});
</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