PDA

View Full Version : [CLOSED] How to check/uncheck treenode on select?



jchau
May 30, 2013, 5:21 PM
If a treenode has a checkbox, how can I toggle the checkbox when I select the treenode?

Baidaly
May 30, 2013, 11:18 PM
Hello!

Depending on your requirements you can use one of the following approaches:



<Select Handler="record.set('checked', !record.get('checked'));"></Select> <%--If you need only on selection--%>
<ItemClick Handler="record.set('checked', !record.get('checked'));"/> <%--If you need only on node click--%>