shows/hides a checkbox for a tree item
| id | string|number | the node's id, optional, set null to change states of all items | 
| state | boolean | checkbox's showing state (true - a checkbox is visible, false - invisible) | 
Available only in PRO Edition
// enable checkboxes in Tree, but not render them
tree.enableCheckBoxes(true, true);
...   
// show a checkbox for the specified item
tree.showItemCheckbox(itemId, state);
The method works only for individual items, not for the entire tree.