-
15 May 2012 5:18 AM #61
Hi Animal, regarding your post above. Is it fixed in 4.1 ? I still got that error in 4.1 final.
It works for the first time. But after refreshing the data few times, the error occurs:
Btw I refresh data using this code:Code:Uncaught TypeError: Cannot call method 'getXY' of null ext-debug.js:15796 Element.override.getOffsetsTo ext-debug.js:15796 Ext.define.beforeViewRefresh extjs/src/grid/PagingScroller.js?_dc=1337087153401:204
Code:this.store.pageMap.clear(); this.store.loadPage(1);
Last edited by panpur; 15 May 2012 at 5:27 AM. Reason: formatting
-
23 May 2012 1:15 AM #62
-
9 Jun 2012 12:27 PM #63
Scrollbar bouncing off the bottom of the range - Solved
Scrollbar bouncing off the bottom of the range - Solved
I'm not using variable height rows but was still seeing the scrollbar bounce off the bottom of the range in Chrome. Setting variableRowHeight: true on verticalScroller fixed it, but I still wanted to know why that was needed with my fixed height rows. It turns out I had Chrome's Zoom set to 110%, and I'm sure that caused some rows to have heights a pixel or so taller than others. When I reset that to 100% I found I could remove the variableRowHeight setting and it still worked.
Hopefully this helps somebody as this was driving me nuts.
-
12 Jun 2012 2:03 AM #64
One of the prerequisites of infinite scrolling seems to be autoload: true. I have a lot of stores that are created at the start of my app but I'd prefer to be able to set the store loading later (When the matching grid is rendered) is there an easy way to "late-activate" a buffered store?
-
12 Jun 2012 5:10 AM #65
-
12 Jun 2012 7:03 AM #66
-
12 Feb 2013 8:49 AM #67
Can someone explain to me the relationship between the leading and trailing buffer configuration for the store backing the grid, and the same buffer configuration on the paging scroller?
-
12 Feb 2013 5:24 PM #68
Local sorting
Local sorting
Does buffered scrolling support local sorting now? We enabled buffered grid with local sort, everytime we scroll down the grid is automatically sorted by the first column of the grid, even if we sort the grid by some other column before the scroll.
-
6 Mar 2013 2:03 AM #69
I miss if there's an answer to this post...
I've this problem with infinite scrolling, store:
Store listener to add extra params with request:PHP Code:Ext.define('Pt.store.StorePianiInfinite', {
extend: 'Ext.data.Store',
requires: [
'Pt.model.ModelPianiTerapeutici'
],
constructor: function(cfg) {
var me = this;
cfg = cfg || {};
me.callParent([Ext.apply({
storeId: 'StoreInfinite',
model: 'Pt.model.ModelPianiTerapeutici',
buffered: true,
clearOnPageLoad: false,
leadingBufferZone: 300,
pageSize: 100,
remoteGroup: true,
proxy: {
type: 'ajax',
simpleGroupMode: true,
groupDirectionParam: 'dir',
simpleSortMode: true,
url: 'php/xy.php',
reader: {
type: 'json',
idProperty: 'id',
messageProperty: 'msg',
root: 'piani'
}
},
sorters: {
direction: 'DESC',
property: 'id'
}
}, cfg)]);
}
});
But in Firebug I see only the first request with all params i needPHP Code:me.getStorePianiInfiniteStore().on({
beforeload: function (store, operation, opts) {
Ext.apply(operation, {
params: {
numero: me.getNPiano().getRawValue(),
dt1: Ext.Date.format(me.getDataDa().getValue(),'Ymd'),
dt2: Ext.Date.format(me.getDataA().getValue(),'Ymd'),
dt3: Ext.Date.format(me.getDataVDa().getValue(),'Ymd'),
dt4: Ext.Date.format(me.getDataVA().getValue(),'Ymd'),
specialita: me.getCbSpecialita().getValue(),
principio: me.getCbPrincipi().getValue(),
medico: me.getCbMedico().getValue(),
paziente: me.getCbPaziente().getValue(),
stato: me.getCbStato().getValue()
}
});
}
req1.jpg
For page 2, 3...
req2.jpg
How to fix it?
-
8 Mar 2013 5:32 PM #70



Yes, there's a recently introduced bug with variableRowHeight. I have a fix submitted which will be in the final 4.1
Reply With Quote