[Dojo-interest] How to get diji.tree to lazy load data in pages

Jared Jurkiewicz jared.jurkiewicz at gmail.com
Fri Jun 18 15:17:19 EDT 2010


If you have nodes with 2000+ children, I'm not sure a 'tree' is
exactly a great visualization model to use.

-- Jared

On Fri, Jun 18, 2010 at 3:04 PM, z00mantwo <gareysmiley at sbcglobal.net> wrote:
>
> I have a dijit.tree setup with a custom dijit.tree.TreeStoreModel connected
> to a dojox.data.QueryReadStore that does lazy loading of the tree branches.
> Some of the branches can have 2000+ nodes. Is there a way to have the
> TreeStoreModel load the branches in pages of say 30 records at a time so the
> browser doesn't lockup for an extended time? For example it takes 30+
> seconds to open up a branch with 2010 nodes. That's after the data has
> already been requested from the web service for that branch.
>
> --
> View this message in context: http://dojo-toolkit.33424.n3.nabble.com/How-to-get-diji-tree-to-lazy-load-data-in-pages-tp906251p906251.html
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>


More information about the Dojo-interest mailing list