![]() |
BeginUpdate/EndUpdate Deleting the existing nodes |
Post Reply
|
| Author | |
Tomas
Newbie
Joined: 21 July 2006 Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Topic: BeginUpdate/EndUpdate Deleting the existing nodesPosted: 18 August 2006 at 3:44pm |
|
I was trying to update a bunch of nodes in the property-grid
so I decided to use the "BeginUpdate / EndUpdate" because I didn’t
know how many the user could add. I found out that BeginUpdate actually deletes
the current content of the property-grid. Is that the expected behavior?
… OR is it that I am doing something wrong? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 August 2006 at 4:00pm |
|
Yes, it is expected.
You can just call
GetGridView().SetRedraw(FALSE);
GetGridView().SetRedraw(TRUE); if you don't want to delease al items. |
|
|
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 |