this.selectionLayer = new SelectionLayer(this.columnHideShowLayer);
this.viewportLayer = new ViewportLayer(this.selectionLayer);
if (summaryRowOnTop) {
// create a standalone SummaryRowLayer
SummaryRowLayer summaryRowLayer = new SummaryRowLayer(
this.bodyDataLayer, configRegistry, false);
// configure the SummaryRowLayer to be rendered standalone
summaryRowLayer.setStandalone(true);
summaryRowLayer.addConfiguration(
new ExampleSummaryRowGridConfiguration(this.bodyDataLayer.getDataProvider()));
CompositeLayer composite = new CompositeLayer(1, 2);
composite.setChildLayer(SUMMARY_REGION, summaryRowLayer, 0, 0);
composite.setChildLayer(GridRegion.BODY, this.viewportLayer, 0, 1);