[Datagrid] How to optimize the refresh of the grid?

  • Thread starter Thread starter k a
  • Start date Start date
K

k a

Hi NG,

I'm using a datagrid which is bound with copies of remote objects in my app.
It works quite well but the problem is that the grid refresh is very very very slow.
I'm refreshing only two fields by row (using Invalidate(Rectangle)).

Does anyone know how to optimize the refreshing?
Thanks for you help
ka
 
One thing to note is that when the datagrid refreshes, it refreshes the
entire data and not just the invalidated regions. You can test this by
changing some values and then invalidating a region that does not
contain that value, you will see that infact the entire datagrid is
being refreshed.

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
 
Back
Top