1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    17
    Vote Rating
    0
    sachinrathore is on a distinguished road

      0  

    Default Unanswered: How to load data in grid using webservice in sencha touch 2

    Unanswered: How to load data in grid using webservice in sencha touch 2


    Hi all,
    I am unable to load data in grid using webservice .

    Below is my store:


    Ext.define('NotesApp.store.Grid', {
    extend : 'Ext.data.Store',


    config: {
    model: "NotesApp.model.Grid",


    requires: [
    'Ext.data.proxy.JsonP',
    "Ext.data.Model"
    ],


    proxy: {
    type: 'jsonp',

    url:'http://10.4.3.199/SenchaTest/Default.aspx',
    startParam: '',
    pageParam: '',
    limitParam: '',


    extraParams: {
    Fn:'GetdNot',
    Uid: '3',
    Dn::'data',
    Fdt: '10-08-12'



    },
    reader: {
    rootProperty: 'notification.notf'
    }


    },
    grouper: {
    sortProperty: "dateCreated",
    direction: "ASCE",
    groupFn: function (record) {


    if (record && record.data.dateCreated) {
    return record.data.dateCreated.toDateString();
    } else {
    return '';
    }
    }
    },

    autoLoad:true
    }
    });

    Below is my model:

    Ext.define('NotesApp.model.Grid', {
    extend : 'Ext.data.Model',


    config : {
    fields : [
    'Uid',
    'Ntf',
    'RcpntID',
    'ntfDt'
    ]
    }
    });

    Below is my controller:

    onGridButtonCommand: function () {


    var gridStore = Ext.getStore('Grid');

    gridStore.getProxy().setExtraParam('Uid',3);
    gridStore.getProxy().setExtraParam('Dn',"Teste");
    gridStore.getProxy().setExtraParam('Fdt',"2012-08-07");




    console.log(" Web Grid store");
    gridStore.load();

    }

    Please reply me..........

    Thanks
    Sachin Rathore

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Move to Q/A forums.

    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    17
    Vote Rating
    0
    sachinrathore is on a distinguished road

      0  

    Default How to load data in grid using webservice in sencha touch

    How to load data in grid using webservice in sencha touch


    Thanks scott...............

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..." hd porno faketaxi