Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mongkol on Aug 02, 2008 02:14
open dhtmlx forum
Un hi-light node on tree?

I want to know about some Api function for delete hi-light selected node on tree?
Answer posted by Support on Aug 04, 2008 01:40

The selection can be removed as 
          tree.clearSelection()

Selected nodes can be deleted as
var ids = tree.getSelectedItemId().split(",")
for (var i=0; i<ids.length; i++)
           tree.deleteItem(ids[i]);