how can i checked all the checkboxes that appear in jstree, when derived code like this? and when you click the group will change all the checked based group
$(function() {
// transform menutree div
var menutree = $('#menutree').jstree({
"plugins": ["types", "checkbox"],
'core': {
//"load_open": true,
"data": {
"async": false,
'cache': false,
'dataType': 'JSON',
'url':json_menu_url,
'data': function(node) {
},
'success': function(r){
console.log(r)
}
},
},
});
$(document).on('dnd_stop.vakata', function (e, data) {
console.log('--drop--');
});
});
Aucun commentaire:
Enregistrer un commentaire