views:

118

answers:

0

The data for my table is held within the table model. Table rows should be colored white or gray. Looking only at a certain column, if the cell's value of the current row is incremented by 1 compared to the previous one the color should switch. I seem to have accomplished this by overriding the prepareRenderer method. However, the user can decide to filter rows in the table. I have also managed to use a filter for the table that works. However, after filtering rows color should be rerendered since some rows could be omitted and the policy of one row's color depending on the previous still holds. What is the best way to accomplish this?