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
    Dec 2012
    Posts
    40
    Answers
    1
    Vote Rating
    -1
    kramal is an unknown quantity at this point

      0  

    Default Unanswered: how to get json or array from Ext.data.Store

    Unanswered: how to get json or array from Ext.data.Store


    Hi ! I am new in ExtJS. I need a help.


    There is fragment of code:

    var temp=Ext.createByAlias('store.clientData',{ queryMode:'remote',}).getRange();
    alert(temp.length);// it return 0 , ???

    I can`t to get array or json object from it. Always i have been getting 0.
    What is matter , I dont know.


    I am grateful for any answer
    With best regards
    kramal.


    where 'store.clientData' defined as:

    Ext.define('PM.store.Clients', {
    extend: 'Ext.data.Store',
    model:'PM.model.Client',
    //autoload:true,
    alias:'store.clientData',

    //data:[{client_n:'34',client_owner:'32',client_dsc:'online'},{client_n:'342',client_owner:'23',client_dsc:'online'}],


    proxy:
    {
    type:'ajax',
    url:'data/Clients.json',
    reader:
    {
    type:'json',
    root:'rows',
    successProperty:'success'
    }
    }

    });

  2. #2
    Sencha - Management Team
    Join Date
    Nov 2012
    Posts
    5
    Vote Rating
    1
    tpullman is on a distinguished road

      0  

    Default


    Great question! Please post your Ext JS questions to our Ext JS 4 Q&A board at http://www.sencha.com/forum/forumdis...87-Ext-Q-amp-A
    Tracy Pullman (Sencha)

Thread Participants: 1