// rendering grand total column
RepeatingView grandTotalColumn = new RepeatingView("grandTotalColumn");
for (RenderCell cell : row.getGrandTotalColumn()) {
if (cell instanceof GrandTotalHeaderRenderCell) {
GrandTotalHeaderRenderCell grandTotalHeaderRenderCell = (GrandTotalHeaderRenderCell) cell;
if (grandTotalHeaderRenderCell.getRawValue() != null) {
tmp = new Label(grandTotalColumn.newChildId(), grandTotalHeaderRenderCell.getRawValue()
.toString());
applyRowColSpan(cell, tmp);
grandTotalColumn.add(tmp);
} else {
tmp = new WebMarkupContainer(grandTotalColumn.newChildId());