1. #31
    Sencha User trbs's Avatar
    Join Date
    Mar 2007
    Posts
    310
    Vote Rating
    0
    trbs is on a distinguished road

      0  

    Default


    Quote Originally Posted by hendricd View Post
    You'll need to replace this function:

    Code:
    var fn = function(r1, r2){
        return r1 < r2;
    };
    with:
    Code:
    var fn = function(r1, r2){
        return r1 == r2?0:r1 < r2?-1:1;
    };
    to get the sorting to work properly.
    i fixed this in Ext.ux.data.PagingMemoryProxy
    I'm part of the Ext Community
    Maintaining: Translations and some Examples
    Developing on: ExtJS Python Builder / Gozerbot
    Places: Ido.nl.eu.org / My ExtSamples / Trbs on Wiki / IRC

  2. #32
    Ext User
    Join Date
    Jul 2008
    Posts
    27
    Vote Rating
    0
    sami_user is on a distinguished road

      0  

    Default


    Quote Originally Posted by trbs View Post
    i fixed this in Ext.ux.data.PagingMemoryProxy

    hi trbs,

    I am using ext.ux.pagingmemoryproxy and reading the data from an array in my local file. I have the data locally, and not reading it from any server. I am using gridfilters and the filtering is done only on the current displayed page and not across all the pages. I found in various posts that filtering does not work properly in pagingmemoryproxy. Is there a way to filter across all the pages ?

    Regards,
    Sam

  3. #33
    Ext User
    Join Date
    Jul 2008
    Posts
    27
    Vote Rating
    0
    sami_user is on a distinguished road

      0  

    Default


    Quote Originally Posted by trbs View Post
    i fixed this in Ext.ux.data.PagingMemoryProxy
    I see the following code in Ext.ux.data.PMP

    HTML Code:
      if (this.customFilter!=null) {
       result.records = result.records.filter(this.customFilter);
       result.totalRecords = result.records.length;
      } else if (params.filter!==undefined) {
       result.records = result.records.filter(function(el){
           if (typeof(el)=="object"){
         var att = params.filterCol || 0;
         return String(el.data[att]).match(params.filter)?true:false;
           } else {
         return String(el).match(params.filter)?true:false;
           }
       });
       result.totalRecords = result.records.length;
      }
    how can we use customfilter in our code ?

  4. #34
    Sencha User
    Join Date
    May 2010
    Posts
    17
    Vote Rating
    0
    rooivalk is on a distinguished road

      0  

    Default


    Dear All,

    Finally after spending my time googling I stumble upon this thread which pretty much everything I want. The problem is I'm so much a newbie that I don't quite understand most of the things in here. My question is, I use Ext.data.HttpProxy for my datastore. In order to use this I need to convert it into BufferedMemoryProxy. But how do I populate the BufferedMemoryProxy from database since the BufferedMemoryProxy only take local objects?

    Thank you very much and sorry if this question is such a silly one. I search, googled and trying to understand various tutorials but all failed .

    Btw I'm using extjs 3 already. Let me know if this technique available on the newest version .

  5. #35
    Sencha User
    Join Date
    Sep 2012
    Posts
    1
    Vote Rating
    0
    nasrat nasrat is on a distinguished road

      0  

    Default Paging for JSON store + AjaxProxy

    Paging for JSON store + AjaxProxy


    Hi, is there any posibility to make paging toolbar operate for JSON store with AjaxProxy? Symptoms: Toolbar shows correct page number but grid didn not reflect paging toolbar page selection.
    Source: local txt file with json record structure.

    Thanks in advice

  6. #36
    Sencha User cojocarutudor's Avatar
    Join Date
    Nov 2013
    Location
    Arad
    Posts
    3
    Vote Rating
    0
    cojocarutudor is on a distinguished road

      0  

    Default


    A good friend tell me about this site and now I'm very happy because I can have this great informations from this posts.I hope another people like me can be helped with this nice informations and advices

Similar Threads

  1. [SOLVED] Memory Leak in Paging Grid Example?
    By cobnet in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 3 May 2007, 8:24 PM
  2. Grid DataModel keeps data in memory
    By tane in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 24 Feb 2007, 12:38 PM
  3. How to call array-grid?
    By sailaja in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 16 Jan 2007, 6:56 AM
  4. Array-Grid in YUI
    By sailaja in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 10 Jan 2007, 3:18 AM
  5. Array Grid Example
    By qintnt in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 4 Dec 2006, 5:06 AM

Thread Participants: 19

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