javascript - Buffered grid Ext JS 5.0 slower than 4.0.1 -
javascript - Buffered grid Ext JS 5.0 slower than 4.0.1 -
preferably utilize latest version of ext js, when looking @ examples of buffered grid of ext js 5.0 , ext js 4.0.1 see clear difference in loading speed. when scrolling fast through info 4.0.1 version smooth, 5.0 takes time load.. loading time causes white screen after each scroll. in sentiment not pretty.
example 5.0: link
example 4.0.1: link
any clue causing this, , whether can prevented.
the illustration you're looking @ http://dev.sencha.com/extjs/5.0.0/examples/grid/buffer-grid.js not used buferred store, reason.
you can replace store in illustration buffered 1 (see this fiddle):
var store = ext.create('ext.data.bufferedstore', { groupfield: 'department', model: 'employee', autoload: true, proxy: { type: 'memory', data: function() { var info = []; createfakedata(5000, data); homecoming data; }() } });
then you'll see rendering indeed fast. unfortunately, grid configured in illustration becomes broken on edges... can't tell if because of misconfiguration or if maybe back upwards infinite grid not top notch yet in ext5 (that explain why didn't finish illustration in first place).
javascript extjs extjs4 extjs5
Comments
Post a Comment