// Add the scalar function columns cells.
for(ScalarFunctionColumnTitle columnTitle : scalarFunctionColumnTitles) {
curRow.addCell(new TableCell(columnTitle.scalarFunctionColumn.
getValue(columnLookups.get(columnTitle.getValues()), curRow)));
}
result.addRow(curRow);
}
// Fill the columnIndices and columnLookups parameters for the scalar
// function column titles. This must be done after the calculation of the values
// in the scalar function column cells, or else the scalar function columns