Search code examples
kendo-uikendo-scheduler

manually change kendo ui toolbar toggle button not working


Kendo UI Version 2015.2.805

Toolbar toggle button

per docs:

var checked = true;

var tb = $("#filter_toolbar").data("kendoToolBar");
tb.toggle("#mostRecent", checked);

should toggle button on if checked=true and off is checked=false, however what it actually does is toggle the button irregardless of the value of checked.

That being the case,I can test for k-state-active to determine if I should toggle it or not but am I doing something wrong here?


Solution

  • This was a bug fixed in Kendo UI Q3 2015 per this