user1471980
user1471980

Reputation: 10636

changing default theme to apple on jstree

I am trying to change the theme on jstree from default to apple as below:

"themes": {
        "theme": "apple",
        "dots": true,
        "icons": true,
        "url": "../../themes/apple/style.css"
    },

When I load the tree, I dont see any dots for folder images. Any ideas what I am doing wrong. style.css file above points to the apple folder css file.

Upvotes: 1

Views: 4660

Answers (1)

user1471980
user1471980

Reputation: 10636

this did it for me:

$("#div_id").jstree("set_theme", "apple"); 

Upvotes: 2

Related Questions