PDA

View Full Version : [CLOSED] The locking buffer rendered treegrid sample times out



bogc
Oct 29, 2014, 6:16 PM
http://examples2.ext.net/#/TreePanel/Advanced/Locking_Buffer_Rendered_TreeGrid/

I thought you might want to know.

Thanks

Daniil
Oct 29, 2014, 8:19 PM
Hi @bogc,

Thank you for the report.

I just tested - no timeout for me. Is it still reproducible for you?

bogc
Oct 29, 2014, 8:37 PM
It works now.

I have a question about this sample. I was looking for a tree component that supports lots of nodes (let's say 5,000-7,000 nodes in a more or less balanced hierarchy). In this sample all the data is retrieved in one shot. What if returning all the data is not an option? Would this still work? Is there a "buffered" tree where the tree would send requests to the server as the user scrolls up and down the tree?

Thanks

Daniil
Oct 29, 2014, 8:52 PM
Would it be OK to load all the children for the expanded node?
http://examples2.ext.net/#/TreePanel/Loaders/Using_Handler/
http://examples2.ext.net/#/TreePanel/Loaders/Direct_Method/

bogc
Oct 29, 2014, 10:39 PM
It might not be. I was planning to provide a context menu with the option to Expand All. In that case the request could bring back lots of nodes. In my mental model I was thinking that a buffered tree could potentially request a fixed number of nodes, enough to fill in the view. But I might be wrong.

Thanks

bogc
Oct 29, 2014, 10:50 PM
Just to clarify further, I am looking for a tree component similar to this: http://docs.sencha.com/extjs/4.2.3/extjs-build/examples/grid/infinite-scroll.html.

Daniil
Oct 30, 2014, 11:21 AM
As far as I can understand the TreeStore, unfortunately, doesn't support the "buffered: true" setting.

Only buffered rendering which means that a TreeStore has all the records already, just they are rendered on the fly while scrolling.