dhtmlgrid --> rowspan in table {header and body question}

In the v1.5 professional version, rowspan is allowed on a cell of table.



rowspan in Header Question:

What is the syntax to apply the rowspan the header rows of a table?



rowspan in Body of Table question:

If we set rowspan with …, how do I designate that cell does not exist in the next row?



Thank you for your assistance.

If we set rowspan with …, how do I designate that cell does not exist in the next row?
Event if row included in rowspan - you still need to provide empty cell tag for second row

   

       01

       02

   
   

      

       02

   


>> rowspan in Header Question:

>> What is the syntax to apply the rowspan the header rows of a table?

colspans and rowspans in header can be created by using #cspan and #rspan labels in header, the cells with such labels will be joined with related cells

    grid.setHeader(“A,B,C”);
    grid.attachHeader(“A,#rspan,C”);

will render
    |  A |    | C |
    ----  B ----
    | A |     |  C