I’m using .setRowspan() to merge some cells in the grid when changing a value in the combobox. But when setting back the default combobox value I would like to have the original grid without those rowspans. How to do that?
Please, try to use the same setRowSpan() method, where the “length” is “1”:
grid.setRowspan(rowID,colInd,1);
Unfortunately it is not working. Please see the attached image. First column is the original grid, second Column is the rowspaned, and third is unrowspaned. But there are empty cells where each value is there only once.
Unfortunately it is not available to revert the original value of the cell after the rowspan/colspan removing.