onCheck event not raised.

I set check state with setCheck function, and onCheck event is not raised.

It is also not fired when I check a parent wich triggers checking childs.

It is also not fired when a new node is added, and CHECKED is set in option string.

The event is assigned with attachEvent, and it fires when I click the checkbox.

Actually this is correct behavior, “onCheck” event fire only when item was checked by user actions, event will not be generated if checkbox state changed by API call or indirectly ( by changing state of parent|child in case of 3-state checkboxes )

This is actual for other GUI related events ( onOpen, onClick, etc. )

What is the recommended way of handling checkbox changes?

dhtmlx.com/docs/products/kb/inde … ent&q=1751