trees, duplicate id's

Hi



I have a tree where i accidentally assigned a node and a child with the same id. The id was “2060” and when i did an alert i got an id of “2060_1235401908098”. Did dhtmlx detect the duplicate and generate the extra characters?



Regards

Scott

The tree can’t work if IDs not unique, so if during item adding operation, tree detects that ID is not unique it add random elements ( timestamp ) to it.
While above behavior solves some simple scenarios , it strongly recommended not to use non-unique IDs