Board index » delphi » Dream InfoTree Ghosts

Dream InfoTree Ghosts


2005-06-08 04:54:26 PM
delphi36
Can anyone please help me with Dream InfoTree - I am desperate!
The problem I am having manifests itself when a new node is added to a tree,
by creating "ghost" children nodes for all the other siblings of the one
that I am actually adding to. They are not added to the data, only to the
tree, but the only way to get rid of them, is a complete data refresh every
time a node is added - very slow!
From what I have been able to tell, there seems to be an insert event
generated for each parent sibling in the tree. In other words, if I am
adding a child to node 5 of 10, an insert event will fire for each of the 10
siblings.
I can not track it down, and it is driving me crazy!!!!! I have only just
"revisited" using this tool, only to find that support has ceased, so any
help appreciated.
Thanks in advance
Russell.
 
 

Re:Dream InfoTree Ghosts

In article <42a6b366$XXXX@XXXXX.COM>, XXXX@XXXXX.COM
says...
Have you tried nesting your changes between a BeginUpdate and EndUpdate
?
 

Re:Dream InfoTree Ghosts

Yep, tried that. I have even gone as far as trying to disable the infoset
relationships while inserting, and that didn't work either.
I am convinced it has something to do with too many events being generated
somewhere, but I can not tell where - probably cos it is beyond my
capabilities!
"Russell A" <XXXX@XXXXX.COM>writes
Quote
Can anyone please help me with Dream InfoTree - I am desperate!

The problem I am having manifests itself when a new node is added to a
tree,
by creating "ghost" children nodes for all the other siblings of the one
that I am actually adding to. They are not added to the data, only to the
tree, but the only way to get rid of them, is a complete data refresh
every
time a node is added - very slow!

From what I have been able to tell, there seems to be an insert event
generated for each parent sibling in the tree. In other words, if I am
adding a child to node 5 of 10, an insert event will fire for each of the
10
siblings.

I can not track it down, and it is driving me crazy!!!!! I have only just
"revisited" using this tool, only to find that support has ceased, so any
help appreciated.

Thanks in advance
Russell.