Skip to main content



      Home
Home » Eclipse Projects » NatTable » dynamic coloring of cells using CellOverrideLabelAccumulator with filtering/grouping/sorting(Issue with coloring cells using CellOverrideLabelAccumulator when filtering/sorting/grouping is applied)
dynamic coloring of cells using CellOverrideLabelAccumulator with filtering/grouping/sorting [message #1844650] Mon, 20 September 2021 07:34 Go to next message
Eclipse UserFriend
I am using a custom CellOverrideLabelAccumulator class to color different cells during run time by using different labels and colors based on some conditions.
The cells are identified by row and column numbers

The feature is working fine and colors the cells which are identified using their row and column numbers.

But the colors are tightly coupled to the cells as they are referred by the row and column numbers. Due to this when filtering/grouping/sorting is applied on the table the colors are misplaced.

Any idea how i could fix this? I want the colors to be applied correctly irrespective of if the table is sorted/filtered/grouped.

[Updated on: Mon, 20 September 2021 07:36] by Moderator

Re: dynamic coloring of cells using CellOverrideLabelAccumulator with filtering/grouping/sorting [message #1844656 is a reply to message #1844650] Mon, 20 September 2021 09:54 Go to previous message
Eclipse UserFriend
Then you should not rely on column and row numbers but on some real information.
Previous Topic:natExporter.exportMultipleNatTables tables are overlapping
Next Topic:natTable Focus
Goto Forum:
  


Current Time: Wed May 21 11:58:34 EDT 2025

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

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

Back to the top