Kendo UI filter menu close event?

Hello, I implemented a special filter menu using checkboxes similar to this example:

http://dojo.telerik.com/@SiliconSoul/oBoCu

My problem is that the user selects / deselects some of the checkboxes, but then does not click the Filter button. I would basically like to reset their selection to be what they initially had before closing the menu, but don’t think that there is such an event in the filter menu.

How do I bind to closing a menu?

+4
source share
1 answer

It looks like there is kendoPopup in the filter menu, which has a private event.

$(#my-popup).data("kendoPopup").bind("close", function (e) {
  console.log("filter menu closed");
});

filterMenuInit kendoGrid, Event.Container

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events-filterMenuInit

event.container.data("kendoPopup").bind("close", function (e) {
  console.log("filter menu closed");
});
+5

All Articles