Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4032
How search for a node
posted

Hello all,

I have a ultraTree bound to dataSet with up to 5000 nodes. Each node gets a tag object if he gets initialized. The tag object contains some basic properties of the data each nodes stands for.

My search / search next function should find the nodes maching a certain property value, say I'm looking for the node with employee no '9999'.

I have not found any search funktion of ultratree. Only 'GetNodeByKey', but I'm not searching for the. In my first approach I get the key (corresponding to my search property) from the underlying dataset and then called 'GetNodeByKey'.

But 'GetNodeByKey' cannot find nodes not intialized because they not have been expanded so far and 'InitializeDataNode' have not been called yet.

Is there a way to force initializing all nodes without expand all nodes ?

What is the best approach for my find / findNext function ?

Thanks for any help.

Markus