Unable to add icon to a specific folder dynamically

Hi,
I have already folder tree with an icons, but there is a scenario like need to add a new icon dynamically to a specific folder based on that folder id.

Help me.
Thanks,

You can redefine related type of templates and define your own logic of icon rendering. Check the next example.

http://webix.com/snippet/559c86cd