append
Appends a new item to the children data source and initializes it if necessary.
Parameters
model Object|kendo.data.Node
The data for the new item.
Example - append child nodes
<script> var parentTask = new kendo.data.Node({ text: "Parent" }); parentTask.append({ text: "Child" }); /* The result can be observed in the DevTools(F12) console of the browser. */ console.log(parentTask.children.data().length); // outputs "1" var child = parentTask.children.at(0); /* The result can be observed in the DevTools(F12) console of the browser. */ console.log(child.text); // outputs "Child" </script> In this article