This example shows how you can adapt your vector layer (here a heatmap layer) by filtering an underlying GeoExt.data.store.Features.

Have a look at filtered-heatmap.js to see how this is done.