PDA

View Full Version : Remote filter using comparsion operators



Dumas
10 Dec 2013, 6:10 AM
Hello,

is there any way to use comparison operators in store filters?

My backend would supports something like the following, but ExtJS locally filters it again. Is there a way to make this work?


var store = Ext.create({
model: 'MyModel',
remoteFilter: true
});
store.filter('height', '> 100');// alternative syntax:
// store.filter('height >', '100');
store.load();


Thanks,
Roland

Kevin Jackson
13 Dec 2013, 1:49 PM
Does this thread point you in the right direction?http://www.sencha.com/forum/showthread.php?250074-Remote-store-filter-with-comparison-parameter

Dumas
14 Dec 2013, 2:40 PM
I'm not sure if it's the right direction, I would prefer seeing it in the filter implementation, but it will work.

Thanks,
Roland