New to Kendo UI for jQueryStart a free 30-day trial

Custom Actions

If you supply a non-recognized action name, that name is treated as a custom action.

The Window then renders k-icon and k-svg-i-actionname CSS classes for the action but does not automatically attach a click event handler to it. While the Kendo UI stylesheets provide a "custom" icon for custom actions, you can use any icon name from the List of Icons to ensure the icon displays properly. To capture and handle the click events, follow the standard approach.

js
  $("#window").kendoWindow({
      actions: ["Custom", "Minimize", "Maximize", "Close"],
      title: "Window Title"
  }).data("kendoWindow").wrapper.find(".k-i-custom").click(function(e) {
      alert("Custom action button clicked");
      e.preventDefault();
  });

See Also

In this article
See Also
Not finding the help you need?
Contact Support