combined header for two columns

I have a grid with 7 columns and each column has its own name displayed on header.

First two columns should have one header with some name…

How to implement such setting?



Thanks


dhtmlx.com/docs/products/dhtmlxG … art_hdrftr


Multiline headers (footers) can have colspans and rowspans. There is no special API that calls for such task, the functionality is based on special cell values.
If the header cell contains:
#cspan - the cell will be joined with the cell to the left of the current one;
#rspan - the cell will be joined with the cell above the current one.

For example:
grid.setHeader(“A,#cspan,B”);