If I combine 2 cells using setColSpan - this.mygrid.setColspan(row_id,1,2);
and then separate them again - this.mygrid.setColspan(row_id,1,1);
the rightmost cell never re-appears correctly - and any formatting of the row will ignore the unmerged (right) cell.
Also - next time I try to combine the cells, they don’t merge.
Repro steps
- create a 3 x 3 grid
- enable colspan
this.mygrid.enableColSpan(true);
- add a merge button to merge 2 cells
this.mygrid.setColspan(row_id,1,2);
- add an unmerge button to unmerge these same 2 cells
this.mygrid.setColspan(row_id,1,1);
- activate the merge button
- activate the unmerge button
- activate the merge button again
Actual result
the last colspan does not span across columns 1 and 2 as expected, and cell ‘row_id, 2’