Skip to content Skip to sidebar Skip to footer

Js Tree Customization In Css Styles

I am trying to create a tree structure list for one of my tasks. I am planning to use JS-TREE plugin for this purpose. Still the plugin comes with lot of features, I have to do few

Solution 1:

So, it looks like they're using a sprite map and changing the background position to select which icon appears

I was able to move this

.jstree-proton.jstree-anchor > .jstree-undetermined {
    background-position: -38px -5px;
}

This satisfied #3. If you inspect any of the icons (jstree-icon class), you'll see a background assigned to 32.png. You'll have to change the positioning for icons that exist there. For the angle up and down you'll have to hide the background image they supplied and insert your own icons

Post a Comment for "Js Tree Customization In Css Styles"