Results 1 to 2 of 2

Thread: combobox not filtering options with text typed

  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    3
    Vote Rating
    0
      0  

    Default combobox not filtering options with text typed

    Hi people,

    I'm tring to put to work one combobox with auto suggest and for that i use a store that loads Json data of php script.

    My JavaScript code:

    http://pastebin.com/y20ZFxfB

    My php code:

    http://pastebin.com/dybrYNfr
    With my Json I think its all rigth.
    My problem is that the combo shows all data and not filtering the values according to text typed.
    I have tring many things with 'remoteFilter', 'lastQuery' but nothing works...
    I have to add listener to combo and make filtering function?

    Thanks

  2. #2
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891
    Vote Rating
    12
      0  

    Default

    Your PHP code does not seem to respect sorting and filtering. You need to do all sorting and filtering at the backend within the SQL query and just return that instead of everytime everything.

Tags for this Thread

Posting Permissions

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