Categories | Question details Back To List | ||
dhtmlxTree, dhtmlXTreeFromHTML and getUserData Hi, I have created a dhtmlxTree from an existing php class which returns my menu as a series of nested unordered lists: <ul> <li id='1'>menu 1 <ul> <li id='2'>sub item 1</li> <li id='3'>sub item 1</li> <li id='4'>sub item 1</li> <li id='5'>sub item 1</li> </ul> </li> <li id='6'>menu 2 etc...... Is it possible to include userdata to be returned with the getUserData() method (such as href and class) with this approach by including a tag(s) in my HTML? I have had a look in the reference section and can not find a way to do this without rewriting my php. Answer posted by Stanislav (support) on Oct 06, 2009 07:07 Unfortunately, when initialized from HTML, tree can't parse any extra data except of item's text. |