View Full Version : How you post new parameters?

8 Jun 2012, 5:49 AM
This is my code:

Ext.define('gridOptionsModel', {
extend: 'Ext.data.Model'

var gridOptionsStore = Ext.create('Ext.data.JsonStore', {
autoDestroy: true,
model: 'gridOptionsModel',
proxy: {
type: 'ajax',
actionMethods: 'POST',
url: '/application.php?way=system&case=updateFields41',
extraParams: {meta: 'true'},
reader: {
type: 'json',
root: 'gridoptions'

And this is the part where it reloads the data from the url but does not send the desired parameters

gridOptionsStore.load({proxy: {
extraParams: {gridData: grid.getState()}}

I have tried everything possible but cannot made it to POST the gridData parameter.

Tim Toady
8 Jun 2012, 5:59 AM
params: {
gridData: 'whatever'