Skip to main content



      Home
Home » Eclipse Projects » NatTable » CellOverrideLabelAccumulator (CellOverrideLabelAccumulator )
CellOverrideLabelAccumulator [message #1817962] Tue, 03 December 2019 11:17 Go to next message
Eclipse UserFriend
WE are using CellOverrideLabelAccumulator , as based on cell data value , different Label will be added to cell using configLabels.addLabel, and based on label each cell will have different style .

CellOverrideLabelAccumulator cellLabelAccumulator = new CellOverrideLabelAccumulator (bodyDataProvider) {
@Override
public void accumulateConfigLabels(LabelStack configLabels,
int columnPosition, int rowPosition) {
.....
}


we have seen CellOverrideLabelAccumulator always works in background to check cell value and renders accordingly. This may be slows the grid-performance. Is there any other WorkAround.
Re: CellOverrideLabelAccumulator [message #1817983 is a reply to message #1817962] Tue, 03 December 2019 15:58 Go to previous message
Eclipse UserFriend
Implement your own config label accumulator. But any time consuming computation will slow down the performance. There is no other way in the NatTable design.
Previous Topic:Validation error style
Next Topic:Customize/Configure ColumnChooser
Goto Forum:
  


Current Time: Thu May 22 00:32:54 EDT 2025

Powered by FUDForum. Page generated in 0.02803 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top