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

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
 
S

Sijin Joseph

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top