17
如何使用複選框插件刪除jstree中的文件夾圖標?使用複選框刪除jstree中的文件夾圖標
$('#div').jstree({
"ui": {
"theme_name": "checkbox"
},
"theme" : { "icons": false },
"json_data": {
"ajax": {
"type": "POST",
"url": "@Url.Action("Tree")"
}
},
"plugins": ["json_data", "checkbox", "ui", "themes"]
});
這一切工作正常,但它顯示覆選框圖標以及文件夾圖標。
對於其他人:如果您使用此https://github.com/tristanm/jstree-rails,則必須通過css隱藏圖標(display:none) – 2014-07-03 18:43:50