Closed drnextgis closed 10 years ago
Set the cbtree property clickEventCheckBox to false
in which case clicking a checkbox will only call onCheckBoxClick
. The default is true
, which generates both the onClick and onCheckBoxClick events.
https://github.com/pjekel/cbtree/wiki/CheckBox-Tree-API#clickeventcheckbox
Thanks!
I need to call
onCheckBoxClick
function if checkbox was clicked and doesn't need to callonClick
function in this case.onClick
function should be invoked only if tree node was clicked (outside the checkbox area). How I can implement such behavior?