Checkboxe father

How can I set checkboxes of all childrens of a father only clicking on father’s checkboxe ?

You need three state checkboxes (the second tree):
dhtmlx.com/docs/products/dhtmlxT … boxes.html