Ext JS - Learning Center

Extention:PagingMemoryProxy

From Learn About the Ext JavaScript Library

Jump to: navigation, search
Summary: Ext PagingMemoryProxy
Author: Ing. Ido Sebastiaan van Oostveen
Published: August 22, 2007
Version: 1.3
Ext Version: 2.0 / 1.1
License: LGPL
Demo Link: View Demo
Forum Post: View Post

Contents

Description

User eXtention that provides a proxy for local / in-browser data structures with support for: paging / sorting / filtering / etc.

Status

Stable (Works on both Ext2 and Ext1)

TODO

Todo / Future Thought

  • Anybody has a wish list ?? if so please add to the forum thread

Custom Filter

In version 1.3, i've added a customFilter config option. This allows you to define a custom filter function which will always be used to filter the input data before returning it to the record store.

An example on how to use this can be found in the forums post: http://extjs.com/forum/showthread.php?p=67879#post67879

Download

PagingMemoryProxy is part of one of the locale examples i wrote for the official Ext distribution, you can find it under the Ext/examples/locale folder. The User eXtension will be further developed here and can be downloaded at the url below.

See http://ido.nl.eu.org/ext-pagingmemoryproxy/ for a demo and download links.

Direct download link: http://ido.nl.eu.org/static/js/Ext.ux.data.PagingMemoryProxy.js

Online Demo

Demo Link: http://ido.nl.eu.org/ext-pagingmemoryproxy/

You can also find an example of the PagingMemoryProxy in the official Ext distribution: Multiple Languages Example

The PagingMemoryProxy is used in the bottom grid, that pages and sorts the long Month names of the selected language.

Change log

  • 1.3 (30-09-2007) Added customFilter config option
  • 1.2 (29-09-2007) Fixed several sorting bugs, thanks to dogmatic!
  • 1.1 Fixed sorting algoritm
  • 1.0 Published
  • This page was last modified on 31 October 2007, at 14:18.
  • This page has been accessed 19,068 times.