How to group the columns in the tree-grid

How to initialize the columns just like the Live Demo in:
dhtmlx.com/docs/products/dhtmlxT … ndex.shtml

You can use attachHeader to add extra headers lines
docs.dhtmlx.com/doku.php?id=dhtmlxgrid:header