josh803316
21 Apr 2009, 8:50 AM
I would like to be able to populate my grid with different info from the json store without defining the fields first (Having the fields defined dynamically) so I can re-use the same grid extension for a lot of similar data from different tables in the db.
I looked at this thread and it looked very applicable but I don't know how to apply it to a grid store or if I am following it correctly.
http://extjs.com/forum/showthread.php?t=18361
jnms.data.manageStore = new Ext.data.JsonStore({
url: '/cgi/admin/load_grid.cgi',
root: 'info',
fields: [ ]
});
I looked at this thread and it looked very applicable but I don't know how to apply it to a grid store or if I am following it correctly.
http://extjs.com/forum/showthread.php?t=18361
jnms.data.manageStore = new Ext.data.JsonStore({
url: '/cgi/admin/load_grid.cgi',
root: 'info',
fields: [ ]
});