Hi jQWidget-Team,
I’m populating a tree via json as the nodes are opened like it is shown in your demo. Also I have an icon on each item. On specific circumstances I’d like to change the icon using javascript and I tried it with: $(‘#myTree’).jqxTree(‘updateItem’, item, {icon: icon});
This adds an icon to the existing item but the previous icon still remains. Is there any way to replace the existing icon or to remove the icon and afterwards inserting the new?
The possibility to remove the item and add a new is not realy preferable because sometimes I would have to exchange big parts of the tree which would result in large amount to transfer data and to render.
Do you have hint for me how I can solve this problem?
Thanks in advance and best regards
Stephan