TMSFMXGrid Bands and Filter issue


I have a TMSFMXGrid with Bands enabled.
If I apply a filter on the grid, the visual effect of the bands may be messed up.
It looks like the grid is just hiding the rows that don't meet the filter criteria, but is not recalculating the bands.
This may result in multiple consecutive bands having the same color.

Is there a solution or work-around for this ?



Yes, you can implement the OnGetCellLayout event and set the fill color to have banding that alternate regardless of the filter state.

Hi Pieter,

Thanks for the quick reply.
I'll try to implement this workaround.

Will there be a "standard fix" as well, because it's unexpected behavior.

We'll investigate the possibilities for a fix