mercredi 4 juillet 2018

How do I get the shaded elements in a jstree checkbox?

I currently have a jstree which I get the selection elements with the code:

var selectedElmsIds = [];
var selectedElms = $('#PermisosjsTree').jstree("get_selected", true);
$.each(selectedElms, function () {
    selectedElmsIds.push(this.id);
    console.log(this.id);
});

but do I need to obtain the overlaid elements (marked with red), how do I get them?

checkbox shaded jstree




Aucun commentaire:

Enregistrer un commentaire