use of org.activityinfo.ui.client.component.report.view.PivotGridPanel in project activityinfo by bedatadriven.
the class ChartEditor method createGridPane.
private void createGridPane() {
BorderLayoutData south = new BorderLayoutData(Style.LayoutRegion.SOUTH, 0.30f);
south.setCollapsible(true);
south.setSplit(true);
south.setMargins(new Margins(5, 0, 0, 0));
gridPanel = new PivotGridPanel(dispatcher);
gridPanel.setHeadingText("Table");
chartView.bindTable(gridPanel);
center.add(gridPanel, south);
}
use of org.activityinfo.ui.client.component.report.view.PivotGridPanel in project activityinfo by bedatadriven.
the class PivotTableEditor method createGridContainer.
private void createGridContainer() {
center = new LayoutContainer();
center.setLayout(new BorderLayout());
add(center, new BorderLayoutData(Style.LayoutRegion.CENTER));
gridPanel = new PivotGridPanel(service);
gridPanel.setHeaderVisible(true);
gridPanel.setHeadingText(I18N.CONSTANTS.preview());
center.add(gridPanel, new BorderLayoutData(Style.LayoutRegion.CENTER));
viewBinder = new PivotTableBinder(eventBus, service, gridPanel);
}
Aggregations