I know that it is possible to trigger the click event of a toolbar button like this:
$("#tlbMitglieddokumente > .k-button").click();
but how to trigger the toggle Event?
robert
1 Answer, 1 is accepted
0
Ivan Danchev
Telerik team
answered on 19 Oct 2017, 04:25 PM
Hello Robert,
As mentioned in the documentation the click event does not fire for buttons that are configured as togglable (togglable: true). So if you want to fire the toggle event for such buttons you just need to click them with jQuery, as a result only the ToolBar's toggle event will fire. Here's a dojo example.