Table styling

Hi,

I need a little help for the following scenario:

I am displaying multiple records on the vaadin table. In the 1st row, i have implemented a filter for the values in the table.

The table consists pairs meaning the id of 2nd row and 3rd row are the same; and 4th and 5th row are the same.

I have attached a sample file for the above explanation.

Now what i would like is: the highlighting of the rows should remain as it is, and when the user presses a button on the screen, the matching values should get highlighted.

I have implemented the highlighting of the rows in the cellStyleGenerator, but i am unable to make both the highlighting and displaying of matching values to work.

Please let me know if you have any ideas.

Thanks.
12452.xlsx (47.9 KB)