I currently have an ExtJs store set up with specific configurations.
var fieldsStore = new Ext.create('Ext.data.Store', {
model : 'FieldsModel',
proxy : {
type : 'ajax',
url : 'queryBuilder_getQueryDetails',
extraParams : {
queryID : queryID
},
reader : {
type : 'json'
}
},
listeners : {
load : function(store, records, successful, operation, eOpts) {
if (successful) {
records.forEach(function(rec) {
// default settings: if datatype is INTEGER - SUM
if (rec.get('fieldType') == 'INTEGER') {
rec.set('fieldSettingKey', 'SUM');
rec.set('fieldSettingValue', 'Sum');
} else {
// else select ROWHEADER by default
rec.set('fieldSettingKey', 'ROWHEADER');
rec.set('fieldSettingValue', 'Row Header');
}
});
store.commitChanges();
}
}
}
});
After setting
fieldsStore.proxy.extraParams.queryID = arrQuery.queryId;
, I encounter an error specifically in Internet Explorer. This issue does not present itself in Chrome or Firefox, only in IE.
The error message indicates that fieldsStore.proxy.extraParams
is either null or undefined.
Would anyone be able to provide insight into why this discrepancy occurs solely in IE?