I'm now using listpaging plugin (as reference for anyone with the same question)
I required it by
'Ext.plugin.ListPaging'
and used in my List view class in config with
Code:
plugins: [
{
xclass: 'Ext.plugin.ListPaging',
autoPaging: true
}
],
on the store
I added the params (pageParam) and pageSize in config
Code:
reader: {
type: 'json',
pageParam: 'page'
}
of course on the php server side I modified the query to accept page parameter and set LIMIT based on it and on pageSize (for me a constant value)
I'm now trying to:
- add a filter to the page (suppose to perform in a similar way but has to identify the params on store)
- would like to have the same performance storing list data on localstorage after first load
thank you again for any help in this, alex