Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    24
    Answers
    1
    Vote Rating
    7
    rhytha268 is on a distinguished road

      1  

    Default Unanswered: TypeError: record.unjoin is not a function

    Unanswered: TypeError: record.unjoin is not a function


    Getting error when loading store data After ajax request returning data.
    Error - TypeError: record.unjoin is not a function
    Here is my code -

    var invStore = Ext.data.StoreManager.lookup('invoice');
    var rec = Ext.decode(response.responseText);
    invStore.loadData(rec);

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,111
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Check the rec after decode. Is it an array?
    And you could try to use loadRawData if the data is not an array of models.

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    24
    Answers
    1
    Vote Rating
    7
    rhytha268 is on a distinguished road

      0  

    Default


    Here is my data - and loadRawData also not working.

    Load.png

  4. #4
    Sencha User
    Join Date
    Oct 2012
    Posts
    24
    Answers
    1
    Vote Rating
    7
    rhytha268 is on a distinguished road

      1  

    Default


    My Bad.
    I should use -

    var rec = Ext.decode(response.responseText).records;
    invStore.loadData(rec);

    That works.

    Thank you

  5. #5
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,111
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    you should put in the record array part not the rec object..

Thread Participants: 1

Tags for this Thread