Merged cells

Hi, I am using dhtmlxGrid_v14_Pro_70813 version,



Q) I have set colspan and merged the cells, is there any way to get start and end cell indexes of all merged cell in a particular row?



Q) Above same question is for header also, i.e. how to keep track of merged cells indexes both by Row(#cspan) and Column(#rspan) in header and by Row in grid�s cells?

>> is there any way to get start and end cell indexes of all merged cell in a particular row?

There is no API but next code can be used

    grid.cells(i,j).cell.colSpan



>>Above same question is for header also,
There is no API as well, and there is no easy way to easily get such info, you can try to use
   
    grid.hdr.rows[I].cells[J].colSpan

but I and J affected by col|rowspans so it is quite complex to calculate correct indexes for cells.