1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    29
    Vote Rating
    0
    ryanewing is on a distinguished road

      0  

    Default Client Side Paging

    Client Side Paging


    I have spent a fair amount of time trying to get paging to work on the client side. I don't know how I am supposed to use Ext.data.PagingMemoryProxy or Ext.ux.data.PagingMemoryProxy with what I already have. Any tips?

    Code:
    // create the Data Store
        var ds = new Ext.data.Store({
    		proxy: new Ext.data.PagingMemoryProxy(monthArray),
    		reader: new Ext.data.ArrayReader({}, [
    			{name: 'month'}
    		])
    How does that coincide with what I already have?

    Code:
    MyDataStore = new Ext.data.Store({
          id: 'MyDataStore',
          proxy: new Ext.data.HttpProxy({
                    url: 'json.asp?date2=07%2F21%2F2008',      // File to connect to
            timeout: 90000        
                }),

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Do an Ext.Ajax.request to retrieve the data from json.asp, and in the success handler, create the PagingMemoryProxy out of the returned data Array, and create the Store from that.

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