<?xml version="1.0" encoding="utf-8"?>
------------------------------------------
i used the xml generate my tree as menus...
but i have a question?can i add any other property in "item",
such as
if i add the extra property ,it can be show the tree without exceptions?
if item can be add ,how can i get the value of parttern value?
Hi
You can use userdata property:
dhtmlx.com/docs/products/dhtmlxT … _data.html
docs.dhtmlx.com/api__dhtmlxtree_setuserdata.html
it’s very trouble by use “user data”…
it’s no any methods on it…?
if not,i have to change another tree which support it.
i think plus this function is easy to dhtmlx…i don’t know why not.
loading data efficiency,i don’t think so…
You can use custom attribute. Like below:
<item text="Dan Brown" open="1" id="db" type="bbb">
There is a “type” attribute