Server IP : 150.95.80.236 / Your IP : 18.116.118.0 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/sc.pcu.in.th/demo15/src/js/custom/documentation/general/jstree/ |
Upload File : |
"use strict"; // Class definition var KTJSTreeCheckable = function() { // Private functions var exampleCheckable = function() { $('#kt_docs_jstree_checkable').jstree({ 'plugins': ["wholerow", "checkbox", "types"], 'core': { "themes" : { "responsive": false }, 'data': [{ "text": "Same but with checkboxes", "children": [{ "text": "initially selected", "state": { "selected": true } }, { "text": "custom icon", "icon": "fa fa-warning text-danger" }, { "text": "initially open", "icon" : "fa fa-folder text-default", "state": { "opened": true }, "children": ["Another node"] }, { "text": "custom icon", "icon": "fa fa-warning text-waring" }, { "text": "disabled node", "icon": "fa fa-check text-success", "state": { "disabled": true } }] }, "And wholerow selection" ] }, "types" : { "default" : { "icon" : "fa fa-folder text-warning" }, "file" : { "icon" : "fa fa-file text-warning" } }, }); } return { // Public Functions init: function() { exampleCheckable(); } }; }(); // On document ready KTUtil.onDOMContentLoaded(function() { KTJSTreeCheckable.init(); });