Open Taroxx opened 5 years ago
Hi! I have discovered, that the selectable option don't work.
jQuery('#tree').treeview({ "showBorder": false, "selectable": false, // Dont work!!! "showCheckbox": true, "checkable": true, "levels": 1, "uncheckedIcon": "fa fa-square-o", "checkedIcon": "fa fa-check-square-o", "collapseIcon": "fa fa-minus-square-o", "expandIcon": "fa fa-plus-square-o", "checkboxFirst": true, "hierarchicalCheck": true, "partiallyCheckedIcon": "fa fa-caret-square-o-right", "propagateCheckEvent": true, "nodeIcon": "glyphicon glyphicon-user", "wrapNodeText": true, "showTags": true, "data": [{ "icon": "glyphicon glyphicon-user", "text": "Parent 1", "nodes": [{"text": "Child 1", "icon": null}, {"text": "Child 2", "icon": null}] }, { "text": "Parent 2", "nodes": [{"text": "Child 3", "showBorder": true, "selectable": true, "icon": null}, { "text": "Child 4", "showBorder": false, "selectable": false, "icon": null }, {"text": "Child 1", "icon": null}], "icon": null }, { "text": "Parent 6", "nodes": [{"text": "Child 5", "icon": null}, {"text": "Child 4", "icon": null}, { "text": "Child 3", "icon": null }], "icon": null }] });
However, if this are written to the node section, it is works fine.
Hi! I have discovered, that the selectable option don't work.
However, if this are written to the node section, it is works fine.