private void updateMergeMetaData(final int minBlockRowIndex, final int maxBlockRowIndex, final int columnIndex) { for (int i = minBlockRowIndex; i < maxBlockRowIndex; i++) { final GridRow row = gridData.getRow(i); final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); } updateRowMergedCells(row); } final GridRow row = gridData.getRow(minBlockRowIndex); final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(maxBlockRowIndex - minBlockRowIndex); } updateRowMergedCells(row); }
private void updateMergeMetaData(final int minBlockRowIndex, final int maxBlockRowIndex, final int columnIndex) { for (int i = minBlockRowIndex; i < maxBlockRowIndex; i++) { final GridRow row = gridData.getRow(i); final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); } updateRowMergedCells(row); } final GridRow row = gridData.getRow(minBlockRowIndex); final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(maxBlockRowIndex - minBlockRowIndex); } updateRowMergedCells(row); }
final GridCell<?> cell = gridData.getCell(i, columnIndex); ((BaseGridCell) cell).setMergedCellCount(0); updateRowMergedCells(row); final GridCell<?> cell = gridData.getCell(rowIndex, columnIndex); ((BaseGridCell) cell).setMergedCellCount(maxRowIndex - rowIndex); updateRowMergedCells(row);
final GridCell<?> cell = gridData.getCell(i, columnIndex); ((BaseGridCell) cell).setMergedCellCount(0); updateRowMergedCells(row); final GridCell<?> cell = gridData.getCell(rowIndex, columnIndex); ((BaseGridCell) cell).setMergedCellCount(maxRowIndex - rowIndex); updateRowMergedCells(row);
final BaseGridCell bottomSplitRowCell = ((BaseGridCell) bottomSplitRow.getCells().get(columnIndex)); if (bottomSplitRowCell != null) { bottomSplitRowCell.setMergedCellCount(maxRowIndex - expandMaxRowIndex); cell.setMergedCellCount(expandMaxRowIndex - minRowIndex);
final BaseGridCell bottomSplitRowCell = ((BaseGridCell) bottomSplitRow.getCells().get(columnIndex)); if (bottomSplitRowCell != null) { bottomSplitRowCell.setMergedCellCount(maxRowIndex - expandMaxRowIndex); cell.setMergedCellCount(expandMaxRowIndex - minRowIndex);
final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); final BaseGridCell topSplitRowCell = ((BaseGridCell) topSplitRow.getCells().get(columnIndex)); if (topSplitRowCell != null) { topSplitRowCell.setMergedCellCount(minRowIndex - checkMinRowIndex); final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); final BaseGridCell bottomSplitRowCell = ((BaseGridCell) bottomSplitRow.getCells().get(columnIndex)); if (bottomSplitRowCell != null) { bottomSplitRowCell.setMergedCellCount(checkMaxRowIndex - minRowIndex);
final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); final BaseGridCell topSplitRowCell = ((BaseGridCell) topSplitRow.getCells().get(columnIndex)); if (topSplitRowCell != null) { topSplitRowCell.setMergedCellCount(minRowIndex - checkMinRowIndex); final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); final BaseGridCell bottomSplitRowCell = ((BaseGridCell) bottomSplitRow.getCells().get(columnIndex)); if (bottomSplitRowCell != null) { bottomSplitRowCell.setMergedCellCount(checkMaxRowIndex - minRowIndex);
final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); final BaseGridCell topSplitRowCell = ((BaseGridCell) topSplitRow.getCells().get(columnIndex)); if (topSplitRowCell != null) { topSplitRowCell.setMergedCellCount(maxRowIndex - checkMinRowIndex); final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); final BaseGridCell bottomSplitRowCell = ((BaseGridCell) bottomSplitRow.getCells().get(columnIndex)); if (bottomSplitRowCell != null) { bottomSplitRowCell.setMergedCellCount(checkMaxRowIndex - maxRowIndex);
final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); final BaseGridCell topSplitRowCell = ((BaseGridCell) topSplitRow.getCells().get(columnIndex)); if (topSplitRowCell != null) { topSplitRowCell.setMergedCellCount(maxRowIndex - checkMinRowIndex); final BaseGridCell cell = ((BaseGridCell) row.getCells().get(columnIndex)); if (cell != null) { cell.setMergedCellCount(0); final BaseGridCell bottomSplitRowCell = ((BaseGridCell) bottomSplitRow.getCells().get(columnIndex)); if (bottomSplitRowCell != null) { bottomSplitRowCell.setMergedCellCount(checkMaxRowIndex - maxRowIndex);