Rowspan on several lines in header

Hello,



I am using version dhtmlxTreeGrid_v14_Pro_70813 of the grid.



I need to build a header with cells having a rowspan on more than two lines.



It seems that version 1.5 has method setRowSpan() that handles that.



My questions are :

1.    Is it possible to have a cell rowspan on several lines in header with my current version (dhtmlxTreeGrid_v14_Pro_70813) ? (by XML or by scripting)

2.    Do I need to upgrade to version 1.5 or is it possible to do that by adding some code to my current version?



Many thanks in advance,



Best regards,

Sebastien BROUET



>>It seems that version 1.5 has method setRowSpan() that handles that.
This method need to be used if you need to create a rowspan inside data part of grid, it not related to header structure

>>1.    Is it possible to have a cell rowspan on several lines in header with my current version
Yes, your version already has all necessary functionality, you can do it as

mygrid.setHeader(“A0,B0,C0”)
mygrid.attachHeader("#rspan,B1,C1")
mygrid.attachHeader("#rspan,B2,C2")

in result, first column will have a rowspan for all header lines; you can create any complex col|row spans by using #rspan and #cspan as grid headers values.

Thanks for the fast answer, your solution works fine.

Best Regards,
Sebastien BROUET