Login Register

lazy

Seeking advice on lazy load pattern for custom data store

Hi all,

I've rolled by own custom data store based on the following demo:

http://archive.dojotoolkit.org/dojo-2008-02-19/dojotoolkit/dojox/data/de...

Large Tree How to handle

HI

I have a fairly large tree with around 10,000 nodes.

i want to display this and am building JSOn from a servlet for it. but the time to render this tree is too long
is there a way say i can only render the top level of the tree and then render nodes as they are clicked instead of building the whole tree... can i modify the tree widget somehow or is there some attribute for this functionality please help

Dino

I guess I am the GURU

Preface

The lazy load example / demo of the tree is great but what of the case where you are extra lazy and only get the forest you see right in front of you. That to me seems a more realistic case.

Well, not even an idea or suggestion in one whole week (its called the support area or did I arrive at the wrong place? ),Regardless I was still plodding on and determined to find an answer. Well a week later I think I have managed to put the following together based on the LazyLoadJSIStore.js.

Syndicate content