Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paul Harvey on Oct 07, 2009 07:58
open dhtmlx forum
dhxTree.selectItem

Using version 2.5

I call dhxTree.selectItem(nodeId, false)

According to the docs, the second parameter should prevent the node's onSelect event from firing, but the event is still firing.

Grateful for any suggestions.

Thanks,

Answer posted by Stanislav (support) on Oct 07, 2009 09:28
Second parameter prevents onClick event, not onSelect
When item clicked by user - onClick event generated 
Any action, initiated by user or by API, which changes selection of the item generates onSelect event