Hello,
I am using UltraDataSource with UltraGrid.
I have a number of rows in the data source, with the values being updated on the fly.
The problem I am experiencing is that whenever I update a single value in a data row, the entire row is refreshed (all cells repainted).
Is there a way to make the UltraGrid repaint only the cell whose value changed, and not the row?
Thanks,Andrey
Hi Andrey,
I checked into this a little deeper and I am told that I am wrong and that the grid was updated to only invalidate the cell. Perhaps you are using an older version of the grid from before this change was made? What version do you have? Do you have the latest Hot Fix?
Hi Mike,
Thanks for the clarification.
It would be a good enhancement if this behaviour could be configured (i.e. I want only the cell which value changes to refresh).
This would allow implementing even better "high-performance" grids.
I don't think there is any way to stop this. The idea is that when you a single value in a row is changed, the grid fires InitializeRow for that row. This allows you to do things like color an entire row based on the row value.