Thomas
Thomas

Reputation: 67

jstree node styling

I'm trying to style a specific node in my jsTree.

I want to change the icon of the node above my leaf!

This line styles my leaf and now I need to go one level higher.

.jstree-classic .jstree-leaf a ins.jstree-icon { background: url(../../images/File.ico) 0 0 no-repeat; }

Hope someone can help me.

Upvotes: 4

Views: 5606

Answers (1)

Radek
Radek

Reputation: 11121

You can used Types Plugin where each type can have their own icon. Does answer your question?

If not could you provide jsfiddle sample? Something like http://jsfiddle.net/radek/4fTDq/

Upvotes: 3

Related Questions