Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on May 10, 2008 16:21
open dhtmlx forum
Seems you have non-unique ID's in tree's XML

We get this error with the tree, but there is only one item with ID 14?

Error type: getItem
Description: The item 14 not operable. Seems you have non-unique ID's in tree's XML

This is the code we are using...

loc_id_tree.attachEvent("onXLE",onXLE);function onXLE() {
loc_id_tree.setCheck(14,true);
loc_id_tree.openItem(14);
document.getElementById('loc_id').value = loc_id_tree.getAllChecked();
}

Answer posted by Support on May 12, 2008 03:07
Most probably issue caused by using "distributed parsing" mode, please try to disable it by
    tree.enableDistributedParsing(false);

If you are not using such mode as "distributing parsing" and problem still occurs for you - please provide any kind of sample where problem can be reconstructed ( you can send it directly to support@dhtmlx.com )