public static void splitCell(final RadContainer grid, final int cellIndex, final boolean isRow) {
    check(grid, isRow, cellIndex);

    int insertedCells = grid.getGridLayoutManager().insertGridCells(grid, cellIndex, isRow, false, false);

    for (int i=grid.getComponentCount() - 1; i >= 0; i--){
      final RadComponent component = grid.getComponent(i);
      final GridConstraints constraints = component.getConstraints();

      if (constraints.getCell(isRow) + constraints.getSpan(isRow) - 1 == cellIndex) {
        // component belongs to the cell being resized - increment component's span
        GridConstraints oldConstraints = (GridConstraints)constraints.clone();
        constraints.setSpan(isRow, constraints.getSpan(isRow) + insertedCells);
        component.fireConstraintsChanged(oldConstraints);
      }
    }
  }
public static void splitCell(final RadContainer grid, final int cellIndex, final boolean isRow)