Hello,
to implement correct paging I need to set a parameter in a gridpanel's store. However, I am not sure how to set this in the designer.
When I set the following in the Designer
{..., groupid: "currentGroupId"}
the output code of the designer looks this way and does not work.
Code:
AddressStore.superclass.constructor.call(this, Ext.apply({
storeId: 'store',
url: 'AddressData/Addresses',
root: 'addresses',
autoLoad: true,
autoSave: false,
paramNames: {
start: "start",
limit: "limit",
sort: "sort",
dir: "dir",
groupId: "currentGroupId"
},
fields: [
...
So my question is: How do I properly set parameters in the designer? That I can assign e.g. a valid groupId to the store?
Also I cannot set it this way:
store.reload({params:{groupId:currentGroupId}});
because the Paging Toolbar loads the store automatically.
Thanks and kind regards,
mannyk