1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    11
    Vote Rating
    2
    jgate is on a distinguished road

      0  

    Default Unanswered: How to Do Custom Autocomplete function for ext Combobox

    Unanswered: How to Do Custom Autocomplete function for ext Combobox


    Hi -

    I have an extjs combobox which has autocomplete enabled. Right now the matching is done by the starting of the list. I want to do a word matching in the full string rather than the start. For eg, if the list is

    Code Complete
    Platform Code
    Code Master

    Right now when I type "Code", it show "Code Complete" and "Code Master"

    Rather I also want to get the Platform Code also in the list, along with other two.

    Let me know how I can do this.

    Thanks

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,781
    Answers
    356
    Vote Rating
    167
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    The anyMatch config for combo in 4.2.1 should help you do what you're wanting to do I believe:
    http://docs.sencha.com/extjs/4.2.1/#...x-cfg-anyMatch
    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

    C
    heck out all of the 2013 SenchaCon presentations here:
    http://www.sencha.com/blog/senchacon...now-available/

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2013
    Posts
    29
    Vote Rating
    0
    loumac is on a distinguished road

      0  

    Default combobox anyMatch caseSensitive 4.2.1

    combobox anyMatch caseSensitive 4.2.1


    anyMatch not matching string in any position in the field value:

    I have the following config for my combobox using 4.2.1 code base
    anyMatch: true,
    autoSelect: true,
    minChars: 3,
    caseSensitive: false,
    queryMode: 'remote'

    I have standard data[] as root data json

    in my list i have the following Speedy Couriers, Couriers - but when typing in couri I don't get a match on Speedy Couriers - do I need to configure something else if the queryMode is remote, or am I missing some other config?

    thanks in advance

  4. #4
    Sencha Premium Member
    Join Date
    Mar 2013
    Posts
    29
    Vote Rating
    0
    loumac is on a distinguished road

      0  

    Default


    maybe I need to pass filter=couri store proxy param to server, reduce list on server?

  5. #5
    Sencha Premium Member
    Join Date
    Mar 2013
    Posts
    29
    Vote Rating
    0
    loumac is on a distinguished road

      0  

    Default


    yes works with server filter

Thread Participants: 2

Tags for this Thread