[Users] FeatureStore and Paging
Daniel Kastl
orkney at gmx.de
Mon Jun 1 03:32:58 CEST 2009
>> 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).
>
Thank you for the hint. I will take a look.
>> 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.
>
Maybe that's why I could not make it work.
>> 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.
>
I see. Thank you for the explanation.
More information about the Users
mailing list