Hi Guys,
I have just tripped over the following reproducible console error
Uncaught TypeError: Cannot read property 'expanded' of undefined
at init._toggleChildren (kendo.all.js:101203)
at HTMLSpanElement.d (jquery-1.12.3.min.js:2)
at HTMLDivElement.dispatch (jquery-1.12.3.min.js:3)
at HTMLDivElement.r.handle (jquery-1.12.3.min.js:3)
when using a 'k-i-expand' or 'k-i-collapse' icon in a TreeList toolbar button.
To replicate the problem please run the following dojo
http://dojo.telerik.com/ERUwiz
and click on the icon within either of the toolbar buttons.
Having a quick trawl through the code shows the problems stems from the TreeView _attachEvents function which is attaching the _toggleButtonClick event to the k-i-expand/k-i-collapse class irrespective of where it is being used.
Therefore I suspect similar problems might be experienced in other controls i.e. TreeView, Grid etc.
Regards
Alan
I have just tripped over the following reproducible console error
Uncaught TypeError: Cannot read property 'expanded' of undefined
at init._toggleChildren (kendo.all.js:101203)
at HTMLSpanElement.d (jquery-1.12.3.min.js:2)
at HTMLDivElement.dispatch (jquery-1.12.3.min.js:3)
at HTMLDivElement.r.handle (jquery-1.12.3.min.js:3)
when using a 'k-i-expand' or 'k-i-collapse' icon in a TreeList toolbar button.
To replicate the problem please run the following dojo
http://dojo.telerik.com/ERUwiz
and click on the icon within either of the toolbar buttons.
Having a quick trawl through the code shows the problems stems from the TreeView _attachEvents function which is attaching the _toggleButtonClick event to the k-i-expand/k-i-collapse class irrespective of where it is being used.
Therefore I suspect similar problems might be experienced in other controls i.e. TreeView, Grid etc.
Regards
Alan