PDA

View Full Version : Ext Js 4.2.1 Infinite Scroll for tree grid



mandardadpe
18 Dec 2013, 2:30 AM
Hi,
Can we have infinite scrolling for tree grid? If yes, how should send "start" and "limit" parameters as I have added "pageSize "and "buffered: true" config?
Is there any other option ,if infinite scroll does not support for tree grid?
Please reply ASAP.

scottmartin
18 Dec 2013, 2:02 PM
Ext 4.2 tree grid supports buffering:
http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/tree/locking-buffer-rendered-treegrid.html

mandardadpe
18 Dec 2013, 7:16 PM
Ext 4.2 tree grid supports buffering:
http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/tree/locking-buffer-rendered-treegrid.html

We have around 7500 records in the tree and it is taking 10 -15 seconds to load. Cant we load it like infinite scroll grid?

scottmartin
18 Dec 2013, 8:08 PM
To verify, you have the plugin set? Have you tried adjusting your buffer zones?



plugins: {
ptype: 'bufferedrenderer',
trailingBufferZone: 20, // Keep 20 rows rendered behind scroll; default 25
leadingBufferZone: 50 // Keep 50 rows rendered ahead of scroll; default 200
},


Infinite grid uses a buffered store, and is not supported.

mandardadpe
18 Dec 2013, 8:16 PM
Hi Scott,

Let me check with this....thanks :)