TreeTable generated column with checkbox

Hi,

I have created a tree table that include a generated column with a checkbox inside. I would like to check all children when the parent item is checked.

How to access the checkbox component in the generated column ?
Is it necessary to add a property item in the tree table to do it?

Thanks