When a new node is appended to root, the HierarchicalDataSource correctly calls my remote CREATE method:
However, when the node is appended to a parent node, no call is ever made to the remote server but the node is visually appended.
I haven't found any example or documentation that shows how to do this 'correctly'. Please advise!
var
tv = $(
'#outlineEdit'
).data(
'kendoTreeView'
);
tv.append({ text:
'test'
, parentId: 6},
null
);
me.outlineTreeDataSource.sync();
However, when the node is appended to a parent node, no call is ever made to the remote server but the node is visually appended.
var
tv = $(
'#outlineEdit'
).data(
'kendoTreeView'
);
tv.append({ text:
'test'
, parentId: 6}, tv.findByText(
"Child 1.2"
));
me.outlineTreeDataSource.sync();
I haven't found any example or documentation that shows how to do this 'correctly'. Please advise!