PDA

View Full Version : extjs updaateBuffer confusion



kguha
9 Mar 2011, 1:23 PM
I have a query about the updateBuffer functionality in EXT JS GridFilters. I have a StringFilter :

var filters = new Ext.ux.grid.GridFilters({filters: [


{type: 'string', dataIndex: 'someString'}]});
filters.autoReload = false;
//this = someTabPanel

this.someGrid.on('filterupdate',function(){

this.someTab.populateData.call(this);
},this);
//populateData is a substitute of the default 'reload' function

My question is:
When I use a StringFilter, the populateData is called after a buffered Delay. But I have not mentioned any updateBuffer anywhere. The default updateBuffer is used only if I use the default 'reload' function.

Is this not true? Then how come my populateData is called after a delay?