Affichage des articles dont le libellé est Toggle tree node checkbox click without firing checkchange event. Afficher tous les articles
Affichage des articles dont le libellé est Toggle tree node checkbox click without firing checkchange event. Afficher tous les articles

vendredi 2 janvier 2015

Toggle tree node checkbox click without firing checkchange event

I want to set a tree node checkboxto true without firing the "checkchange" event. How can I do that.

i tried below



Code:



node.parentNode.ui.checkbox.setAttribute("checked", "checked");

but it doesn't work.

if I do the toggle, it will fire the "checkchange" event


Code:



node.parentNode.getUI().toggleCheck(true);





Toggle tree node checkbox click without firing checkchange event