How does one remove the folder icon in jstree whilst using the checkbox plugin?
$('#div').jstree({
        "ui": {
            "theme_name": "checkbox"
        },
        "theme" : { "icons": false },
        "json_data": {
            "ajax": {
                "type": "POST",
                "url": "@Url.Action("Tree")"
            }
        },
        "plugins": ["json_data", "checkbox", "ui", "themes"]
    });
This all works fine but it displays the checkbox icon as well as the folder icon.
in the latest jstree version i.e. jstree-3, the themes option goes into the "core" object
"core": {
        "themes":{
            "icons":false
        }
    }
Got it... Should have been "themes" : { "icons": false }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With