javascript - Store and remote filtering -


i have store want set filter in beforequery event.

the problem when this

store.addfilter({property:'name', value: 'xxx'}); 

the actuall addfilter call send request, problem because fire beforequery event again.

so add supresevent parameter function call

store.addfilter({property:'name', value: 'xxx'}, true); 

but, in case request doesn't have filter param @ all.

am missing ?

all want add filter in beforequery event , let request

there's property on store called autofilter. set false. it's private property, therefore it's not in doc.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -