Hi Vincent,
You can consider using the dataSource.get(id) and treeView.findByUid() methods to check whether a node with the sought id exists in the target data source. Example:
Regards,
Genady Sergeev
Telerik
You can consider using the dataSource.get(id) and treeView.findByUid() methods to check whether a node with the sought id exists in the target data source. Example:
var treeview = $("#treeview").data("kendoTreeView");
var barDataItem = treeview.dataSource.get(2);
var barElement = treeview.findByUid(barDataItem.uid);
Regards,
Genady Sergeev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!