flamant
5 Dec 2010, 10:01 AM
Hi,
I implemented a store for a grid and the store doesn't load
var forumJsonStore = new Ext.data.JsonStore({
proxy : new Ext.data.ScriptTagProxy({
url: '<c:url value="/forum/retirerListeDiscussion.htm"/>'
}),
storeId: 'forum',
autoload: true,
root: 'records',
totalProperty: 'totalCount',
fields: champsDiscussion,
idProperty: 'id'
});
var barrePageForum = {
xtype: 'paging',
store: forumJsonStore,
pagasize: 25,
displayInfo: true
};
var forumGrid = {
xtype: 'grid',
columns: forumColonneModel,
store: forumJsonStore,
loadMask: true,
bbar: barrePageForum
}
Thank you in advance for your answers
I implemented a store for a grid and the store doesn't load
var forumJsonStore = new Ext.data.JsonStore({
proxy : new Ext.data.ScriptTagProxy({
url: '<c:url value="/forum/retirerListeDiscussion.htm"/>'
}),
storeId: 'forum',
autoload: true,
root: 'records',
totalProperty: 'totalCount',
fields: champsDiscussion,
idProperty: 'id'
});
var barrePageForum = {
xtype: 'paging',
store: forumJsonStore,
pagasize: 25,
displayInfo: true
};
var forumGrid = {
xtype: 'grid',
columns: forumColonneModel,
store: forumJsonStore,
loadMask: true,
bbar: barrePageForum
}
Thank you in advance for your answers