I'm just full zero in ExtJS, But I cant find any simpy sampe to receive some array from server to JS.
I had sniffered HTTP responce from page:
[["0","1"],["1","2"],["2","3"],["3","4"],["4","5"]]
I can't understand, why any attempts to modify all samples are failing :-(
code is like this:
var record= Ext.data.Record.create([{name:'id_units',type:'str'},{name:'name_units',type:'str'}]);
var StructStoreReader = new Ext.data.ArrayReader({id:0},record);
var StructStore = new Ext.data.ArrayStore({
id:'StructStoreReader',
proxy: new Ext.data.HttpProxy(
{url: '../data/effect-report-data.php' , method: 'POST',disableCaching: true, success: function(r,o){ }})
, baseParams: {QWhat: "plantstruct"}
, reader: StructStoreReader
});
StructStore.load();

'baseParams' are using to generate upper responce.
All tricks resulted in StructStores.items emmpty collection.
I have no minds to do more.

Do somebody have any enthusiasm to help?
Novice with one-day experience in ExtJS, when correcting third-party code.