PDA

View Full Version : [CLOSED] UnCheck all tree node



susanz
Oct 24, 2014, 8:31 PM
Is there better way to do this now?
I found post from 2010:
http://forums.ext.net/showthread.php?9513-CLOSED-Check-and-uncheck-all-checkboxes-treepanel
I got ui.toggleCheck undefined error.

Thanks
-susan zhang

Daniil
Oct 27, 2014, 5:54 AM
Hi @susanz,

Please use:

App.TreePanel1.setAllChecked();

susanz
Oct 27, 2014, 5:22 PM
Hi Daniil, I need uncheck all, should it be setAllChecked(false) or other name ? where can I find this API?
Thanks
-szhang

Daniil
Oct 27, 2014, 5:33 PM
Please use:

App.TreePanel1.clearChecked();





where can I find this API?

Unfortunately, no API docs on that. The only thing I can suggest is to review the sources.
http://svn.ext.net/premium/trunk/Ext.Net/Build/Ext.Net/extnet/src/tree/Panel.js

susanz
Oct 27, 2014, 6:48 PM
Thanks. That works!
-szhang