Hi there,
Is there a way to go back to the same node which was last updated in the grid.
function refreshEquipmentCategories() {
var equipmentCategory = $("#equipmentCategoryTreeView").data("kendoTreeView");
equipmentCategory.dataSource.read();
var selected = $('#selectedEquipmentCategoryPath');
var treePath = $('#selectedEquipmentCategoryPath').parentsUntil(equipmentCategoryTreeView, "li");
var treeView = $("#equipmentCategoryTreeView").data('kendoTreeView');
treeView.expand( treePath );
treeView.select( selected );
treeView.trigger( 'select', {node: selected} );
}
The above doesn't seem to work correctly. Even though the all the nodes gets expanded after refresh, but the current doesnt seem to get selected( highlighted).
Any help would be greatly appreciated.
Thanks
Arrash