Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: Grid: Paging of JavaScript Array already in memory

  1. #31
    Sencha User trbs's Avatar
    Join Date
    Mar 2007


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

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

  2. #32


    Quote Originally Posted by trbs View Post
    i fixed this in

    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 ?


  3. #33


    Quote Originally Posted by trbs View Post
    i fixed this in
    I see the following code in

    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([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


    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 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

    Default 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


    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

Page 4 of 4 FirstFirst ... 234

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts