I have a json response that is parsed through js & made as ul,li tags in javascript. I will then call .fancytree to make these ul li into a fancytree structure.
Now I requirement of clicking an icon within an li element. This click does an ajax call, gets a json response. All that I need to do is add this DOM to existing li tags.
Fancytree removes all my custom classes & builds something of its own. Is there anyway I can fix my problem.
Regards Sarath
To add your custom css classes please use the API of fancytree. In the demo you have two ways to make that: