![]() |
Slow updates with propertygrid... |
Post Reply ![]() |
Author | |
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() Posted: 07 February 2008 at 3:52pm |
I have several property grids that need to be updated whenever a file is opened - sometimes with 20K lines total, in up to 3 or 4 levels - and my performance is bad (7600 line update, four grids, 44 seconds). I tried calling BeginUpdate/EndUpdate and the time went down to 43 seconds. Not exactly the increase i was hoping for.
I am out of ideas - anybody have any?
Thanks!
- David
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
its too much lines. Only to create 10000 CXTPPropertyGridItem objects will take 7-9 seconds.
for (int i = 0; i < 10000; i++)
{ new CXTPPropertyGridItem(1, ""); } Think you need to change logic of your application. Make some filter. Don't think somebody ineed need 10000 lines in propertygrid.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |