Results 1 to 2 of 2

Thread: Can yuo help for dummy?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Dec 2012
    Vote Rating

    Default Can yuo help for dummy?

    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:
    I can't understand, why any attempts to modify all samples are failing :-(
    code is like this:
    var record=[{name:'id_units',type:'str'},{name:'name_units',type:'str'}]);
    var StructStoreReader = new{id:0},record);
    var StructStore = new{
    proxy: new
    {url: '../data/effect-report-data.php' , method: 'POST',disableCaching: true, success: function(r,o){ }})
    , baseParams: {QWhat: "plantstruct"}
    , reader: StructStoreReader

    '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.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Instead of using an array, I would go full fledge JSON
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts