Hi,
I'm binding my DataSource(DataTable) to a GridGroupingCOntrol and would like to color rows based on attributes of objects stored in a cache.
I'm currently doing this in QueryCellStyleInfo, code snippet is attached.
Basically the row should be colored red if its corresponding object is inactive and checking this each time in QueryCellStyleInfo makes the grid very unresponsive and even crashes occasionally when too many user initiated events occurs as the CPU is constantly at 100%.
I tried checking if (e.Style.Color != Color.Red) before coloring the cell red but by default e.Style.Color is always not red.
Is there a more efficient way to do this? Thanks.
Sample142.zip