RowBGColorCalc/OnRender triggering...

I notice that rowBGColorCalc/OnRender gets triggered with OnRecordSelect which is expected of course. But I don’t get why, if you have a navigation panel in table view of those same records, rowBGColorCalc gets triggered for EVERY record in the whole foundset (or maybe just those showing, not sure which) when you select a new record. I see the same behavior in onRender in 6. I know in 6 if you want to have the odd/even/selected rows have different background colors you can do that through your CSS. But I never need that. I just highlight different records based on the data. And I can’t see why, at least in 6 with onRender, that should get triggered for the whole foundset when you simply select another record. If you change foundsets, yes, but if the foundset stays the same why should onRender run for each record in that foundset simply because you select a new record in that foundset?

I guess this is smart client, right ? this is beacause the onRender callback is
fired when the cell is needed to repaint, and when you click a cell it’s repaint
may fire repaints of the cells around it and so on; in 6.1, the onRender callback fire
is changed, it won’t be on the repaint, but on the binded dataprovider change, so it means
much less onRender calls

Oh that’s good to know. Thanks! It is in smart client.