private void addHeader(String header, int colIndex, ColumnModel columnModel) { HeaderGroupConfig headerConfig = new HeaderGroupConfig(SafeHtmlUtils.fromTrustedString(header),1,2); columnModel.addHeaderGroup(0, colIndex, headerConfig); }
columnModel.addHeaderGroup(row, col, new HeaderGroupConfig(SafeHtmlUtils.fromString(child.getLabel()), 1, colSpan));