1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    11
    Vote Rating
    0
    andresdavidortiz is on a distinguished road

      0  

    Default Dynamic Store fields and grid column don't bind

    Dynamic Store fields and grid column don't bind


    Good Morning


    I'm trying to load information dynamically from various service Json, 2 Json request and another through a defined store. Actually I already I have defined my store.


    Ext.require ('Ext.data.proxy.JsonP');


    Ext.define ('VWD.store.datos', {
    extend: 'Ext.data.Store',
    pageSize: 5,
    proxy: {
    type: 'jsonp',
    url: 'myurl'
    reader: {
    type: 'json',
    root: 'data',
    totalProperty: 'total'
    }
    },
    autoLoad: {start: 0, limit: 5}
    });


    and also in my grid columns are dynamically loaded, I have not assigned the fields to the store or and the store to the grid because I do this uploading them via respective web service, that is to say, I have a routine to assign the store fields dynamically and create grid columns also and the bind the grid to the store, reviewing information on the console the data is retrieved but grid loads a blank information as if they bring the records but it's not binded and can not display them. Any suggestions?

  2. #2
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    1. Post code in code tags
    2. Post all related code, easier for community to help you then reading a big messed up phrase
    3. Best practices recommends to name classes with first and last namespace with first letter uppercase. In your case would be: VWD.store.Datoms
    4. You bind the store to grid , not opposite.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."