DataSetTable dataSetTable = (DataSetTable) table;
String groupByPropId = request.getRequestObject().getParameter("groupbyproperty");
String closeGroupByConfig = request.getRequestObject().getParameter("closegroupbyconfig");
if (groupByPropId != null && !groupByPropId.equals("-1") && showGroupByConfig) {
// Capture the group by domain configuration.
DomainConfiguration config = new DomainConfiguration();
DomainConfigurationParser parser = new DomainConfigurationParser(config);
parser.parse(request);
config.apply(dataSetTable.getGroupByProperty());
dataSetTable.setGroupByShowTotals(Boolean.valueOf(request.getRequestObject().getParameter("groupbyshowtotals")).booleanValue());
dataSetTable.setGroupByTotalsHtmlStyle(request.getRequestObject().getParameter("groupbytotalshtmlstyle"));
// Get for the selected non-group by column the scalar function to apply.
if (dataSetTable.getNonGroupByColumnIndexes().length > 0) {