Results 1 to 3 of 3

Thread: Remote filter using comparsion operators

  1. #1
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    589
    Answers
    5
    Vote Rating
    10
      0  

    Default Answered: Remote filter using comparsion operators

    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?
    Code:
    var store = Ext.create({
        model: 'MyModel',
        remoteFilter: true
    });
    store.filter('height', '> 100');// alternative syntax: 
    // store.filter('height >', '100');
    store.load();
    Thanks,
    Roland

  2. Does this thread point you in the right direction?http://www.sencha.com/forum/showthre...ison-parameter

  3. #2
    Sencha User
    Join Date
    Nov 2012
    Posts
    432
    Answers
    11
    Vote Rating
    10
      0  

    Default

    Does this thread point you in the right direction?http://www.sencha.com/forum/showthre...ison-parameter

  4. #3
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    589
    Answers
    5
    Vote Rating
    10
      0  

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •