Hello,
I am creating tree using MVVM. I get data from server in flat json object and make necessary tree json structure on client side. Don't know if that cause the problem, but reordering of tree items does not work, I get following errors:
Uncaught TypeError: Cannot read property 'nextSibling' of undefined kendo.all.min.js:25
Uncaught TypeError: Cannot read property 'uid' of undefined
... and others. I tried to debug but was not able to find the problem. Any help on fixing errors or advices how to better define data source for the mvvm tree would be much appreciated.
You can find all code here:
http://jsfiddle.net/5fqph/10/
I am creating tree using MVVM. I get data from server in flat json object and make necessary tree json structure on client side. Don't know if that cause the problem, but reordering of tree items does not work, I get following errors:
Uncaught TypeError: Cannot read property 'nextSibling' of undefined kendo.all.min.js:25
Uncaught TypeError: Cannot read property 'uid' of undefined
... and others. I tried to debug but was not able to find the problem. Any help on fixing errors or advices how to better define data source for the mvvm tree would be much appreciated.
You can find all code here:
http://jsfiddle.net/5fqph/10/