Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtGridWnd and large amount of data Collapse All
Subject Author Date
Raphael Gruaz Jun 29, 2006 - 2:43 AM

Hi

I am using CExtGridWnd, but it is impressively slow when dealing with large amount of data.
I added 5000 lines, and now it takes almost 1 second to select a row by clicking on it. It is a bit faster to scroll down, but It still take too much time. (I press the scrollbar, move, but have to wait to see the result)

My grid is simple, displays text only, and I don’t have any heavy process running.
to make sure my code was not involved, I used a CListCtrl to display my 5000 lines instead of the grid. Everything went fine, the control does not seem to be bothered by this amount of data.

is this issue known, and is there something I can do about it?

regards,

Raph.

ps:
You REALLY should change this forum.
if we post a message after a search, the post will merely be lost.

Technical Support Jun 29, 2006 - 7:04 AM

We tried to reproduce the problem with 20000 records but failed. Would you create and send us some test project that reproduces the problem?
Anyway it is reasonable to use the virtual mode if you deal with large amount of data.

Eric Houvenaghel Sep 20, 2006 - 3:33 PM

Hi, we are having the same problem.
Is it possible to use virtual mode for CExtReportGridWnd?

Technical Support Sep 21, 2006 - 6:04 AM

You should use the CExtGridWnd instead. The AdoRecordsetView sample is dedicated to the CExtGridWnd class in virtual and cacheable modes. The solution is based on coding your own CExtGridDataProviderRecordSet-derived class and implementing all the abstract methods.

Eric Houvenaghel Sep 20, 2006 - 5:44 PM

Also ... did you mean that you managed to insert 20000 records without significant loss of speed?
If yes could you tell me how?
I based my code on the CExtReportGridWnd sample application.
Which I guess is not the most effecient way of inserting records.
Let me know.
Thanks.

Technical Support Jun 29, 2006 - 7:13 AM

As for the forum, we are aware at least of one problem with the forum, which is it is not very convenient to use the search feature (only in the Tree View mode and only by one word or phrase). We successfully posted a test message just after a search so we need more details about this problem. Anyway, we plan to improve this forum or find some other well-know asp.net search engine.