Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jean on Apr 02, 2008 07:48
open dhtmlx forum
DHTMLXTree - ID get concatenated with some weird number

Hi,

When I expand the tree (I set open=1 in all nodes), the id is concatenated with some strange number:
I get id=ID_XXX instead of id=ID
Here is an example of what I receive as request parameters:

expand=1
uid=1207146580659
id=7934_1207146580643
a_dhx_rSeed=1207146580659

This does not happen when I manually click on each branch to expand it (i do receive id=7934).

Thanks,
Jean.
Answer posted by Support on Apr 02, 2008 08:14
Please be sure that all IDs in tree is unique, if tree encounter not unique ID it automatically made it unique by adding timestamp to the end ( new id = original id + _ + timestamp )

If problem still occurs, and you are sure that IDs in tree XML is unique - please provide an example of XML for which problem occurs.
Answer posted by Jean on Apr 02, 2008 10:25

You got it right!
The same ID was retrieved twice...

Thanks for your support,
Jean.