[Users] FeatureStore and Paging

Eric Lemoine eric.lemoine at camptocamp.com
Sat May 30 23:09:15 CEST 2009


On Friday, May 29, 2009, Daniel Kastl <orkney at gmx.de> wrote:
> Hi List,
>
> I was trying (still not with much success, but this might be caused by
> my poor ExtJS skills) to get "paging" work for my ExtJS Grid panel.
> This grid panel uses a GeoExt feature store, and I was wondering someone
> already could make paging work with a FeatureStore.

We did. I don't have all the details in mind but I think we use a
FeatureStore configured with a ProtocolProxy. The total number of
features is set upfront in the FeatureReader used by the FeatureStore.
We use the MapFish protocol which does support paging (with the limit
and offset GET params) and has a specific interface to get the total
number of features (GET /features/count).


>
> There is paging in ExtJS
> (http://extjs.com/deploy/dev/examples/grid/paging.html)

IIRC Ext paging requires server support - a new set of data is
requested to the server each time the user switches to a new page.

> and paging
> strategy in OpenLayers
> (http://openlayers.org/dev/examples/strategy-paging.html)

This one is a client-side implementation - all the features are
received at once, but they're not all added to the layer, only those
of the current page are.

>
> Do these two work together?

No, two separate things.

>
> Daniel
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list