Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » CellOverrideLabelAccumulator (CellOverrideLabelAccumulator )
CellOverrideLabelAccumulator [message #1817962] Tue, 03 December 2019 16:17 Go to next message
dhruba kumar is currently offline dhruba kumarFriend
Messages: 51
Registered: September 2012
Member
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 20:58 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
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: Fri Apr 19 05:37:45 GMT 2024

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

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

Back to the top