Treetable onCheck event not getting when using common.treecheckbox()

Hi,

I have a treetable with common.treecheckbox() used for select/deselect functionality - with three state enabled.

I wanted to count the number of checked items (including the sub items). But onCheck event is not getting triggered when common.treecheckbox() used.

Same sample when tried with common.checkbox(), onCheck event gets triggered.

https://snippet.webix.com/nnfngjwv

Do we have a different event which gets triggered for common.treecheckbox()?

Thanks
Basanth

Hello, @Bachu

For this purpose use onItemCheck that works precisely with tree and treetable. Meanwhile onCheck works with datatable.
This separation is due to the difference in the data hierarchy of these components.
Please, check the snippet: Code Snippet

@AlenaLisava Thanks it works fine