Jstree node style

I am trying to create a specific node in jsTree.

I want to change the node icon above my sheet!

This line stylizes my sheet, 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.

+4
source share
1 answer

You can use Type Plugin , where each type can have its own icon. Answers your question?

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

+3
source

Source: https://habr.com/ru/post/1385115/


All Articles