Wie man auf das Ordnersymbol in jstree während mit der Checkbox-Plugin nicht entfernen?Ordnersymbol in jstree entfernen, während Checkbox
$('#div').jstree({
"ui": {
"theme_name": "checkbox"
},
"theme" : { "icons": false },
"json_data": {
"ajax": {
"type": "POST",
"url": "@Url.Action("Tree")"
}
},
"plugins": ["json_data", "checkbox", "ui", "themes"]
});
Das alles funktioniert gut, aber es zeigt das Kontrollkästchen-Symbol sowie das Ordnersymbol an.
Für andere Menschen: Wenn Sie diese https://github.com/tristanm/jstree-rails verwenden, müssen Sie Symbole über CSS verstecken (display: none) –