Is that possible select a cell in a FixedSummaryRowLayer and copy it? [message #1778654] |
Tue, 19 December 2017 11:18 |
chun liang Wen Messages: 10 Registered: December 2017 |
Junior Member |
|
|
...
viewportLayer.setRegionName(GridRegion.BODY);
FixedSummaryRowLayer summaryRowLayer = new FixedSummaryRowLayer(bodyDataLayer, viewportLayer, configRegistry, false);
summaryRowLayer.setHorizontalCompositeDependency(false);
IDataProvider columnHeaderDataProvider = new DetailedCostColumnHeaderDataProvider();
DataLayer columnHeaderDataLayer = new DataLayer(columnHeaderDataProvider);
ColumnHeaderLayer columnHeaderLayer = new ColumnHeaderLayer(columnHeaderDataLayer, viewportLayer, selectionLayer);
CompositeLayer childComposite = new CompositeLayer(1, 2);
childComposite.setChildLayer("SUMMARY", summaryRowLayer, 0, 0);
childComposite.setChildLayer(GridRegion.BODY, viewportLayer, 0, 1);
CompositeLayer composite = new BoxLayer(childComposite, columnHeaderLayer);
composite.addConfiguration(new RowOnlySelectionBindings());
// EVG - For styling of viewportLayer contents to the right
columnLabelAccumulator = new ColumnOverrideLabelAccumulator(viewportLayer);
viewportLayer.setConfigLabelAccumulator(columnLabelAccumulator);
// EVG - For styling of summaryLayer contents to the right. Needs to be done separately, as FixedSummaryRowLayer objects
// are not connected with main viewportLayer, they're by themselves.
summaryRowLayerColumnLabelAccumulator = new ColumnOverrideLabelAccumulator(summaryRowLayer);
summaryRowLayer.setConfigLabelAccumulator(summaryRowLayerColumnLabelAccumulator);
...
Is that possible select a cell in a FixedSummaryRowLayer and copy it?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03613 seconds