I am having a problem to display correct icons from Jstree. ( http://www.jstree.com/ )
How do you force a node to display with a specific icon, ( for example a node with no children), force it to display as a file icon instead of a directory one?
I am having a problem to display correct icons from Jstree. ( http://www.jstree.com/ )
How do you force a node to display with a specific icon, ( for example a node with no children), force it to display as a file icon instead of a directory one?
Check out the types plugin:
http://www.jstree.com/documentation/types
You can specify icons for specific node "types".
See also: