faro
29 Oct 2007, 7:44 AM
hello,
does anybody know how to tell extjs to use values from a form on paging-action?
i already tried:
Ext.apply(my_datasource.baseParams,this.fs.getValues())
my_datasource.load({params:{start:0, limit:MAX_NUMBER_RESULTS}, arg:[Ext.decode(Ext.encode(my_datasource.baseParams))]});
my_datasource.on("beforeload", function(){
Ext.apply(my_datasource,this.fs.getValues());
}
First time the grid loads the results inside are correct. if i hit the page-button the form-values will not be used anymore..seems to me like a bug..any idea?
greetings
does anybody know how to tell extjs to use values from a form on paging-action?
i already tried:
Ext.apply(my_datasource.baseParams,this.fs.getValues())
my_datasource.load({params:{start:0, limit:MAX_NUMBER_RESULTS}, arg:[Ext.decode(Ext.encode(my_datasource.baseParams))]});
my_datasource.on("beforeload", function(){
Ext.apply(my_datasource,this.fs.getValues());
}
First time the grid loads the results inside are correct. if i hit the page-button the form-values will not be used anymore..seems to me like a bug..any idea?
greetings