Treecheckbox

what is the difference events treecheckbox and checkbox ?

Datatable can contain multiple “checkbox” elements per row, where each checkbox represents the value in some column. It generates onCheck event.

TreeTable can use the same functionality. Additional there is a way to add treecheckbox. There can be only one treecheckbox per row, and it can work in 2 or 3 state mode. Clicking on treecheckbox generates onItemCheck event.

First event represent just clicking on some checkbox, second - chechking the whole row. While they are similar, events have different parameters, so we preffer to have them with different names.