1. #1
    Sencha User
    Join Date
    Jan 2008
    Location
    Los Angeles
    Posts
    149
    Vote Rating
    1
    radtad is on a distinguished road

      1  

    Default Ext.ux.form.field.ComboMatch

    Ext.ux.form.field.ComboMatch


    I've add an extension to combobox that will allow you to filter the corresponding store with multiple strings. It doesn't matter what order the strings are in.

    Repo: https://github.com/theonlytad/extjs-ux-combomatch
    Example: Included in github repo.
    ExtJS Version: 4.2.1 and above (4.2.0 has different doQuery logic)
    Tested Browsers: IE8, IE9, Chrome 29 and Firefox 24

    Screenshots:

    Normal ComboMatch with AND match between strings
    combomatch.png
    ComboMatch searching for extra field (in this case airport code).
    combomatch1.png

    ComboMatch only works with queryMode: 'local' as of now. If you want to do remote, then the logic should be server side. Some of the customizable configurations are as follows:
    • Can use the filter with an OR or AND match.

      Code:
      orMatch: false
    • Configurable filter for testing against.
      Code:
      filterTest: function(combo,str,regex,rec) {    return regex.test(rec.data[combo.displayField]);}
    • Default characters to escape so the regex doesn't get killed:
      Code:
      regexReplaceChar: /([\(){}[]])/g
    Attached Images

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,383
    Vote Rating
    62
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


    Looks cool. Thanks for sharing this with the community.
    Get on the Fast Track with Sencha Training http://sencha.com/training

    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi