ComboBox with multiple search fields?

  • Does anyone know if it is possible to search the underlying store to a ComboBox via multiple fields? For example, let us assume that the underlying data to the store is a person with a lastName (or surName for the Europeans) and firstName (or givenName). I want to be able to type in "John" and get results whether someone is "John Smith" or "David Johnson" both of which contain John, albeit one in the firstName and one in the lastName.

    I supposed I could create a Store wrapper that includes a new field fullName, constructed from the firstName and the lastName, so that the search goes against fullName, which itself just searches an underlying store by either/or (in other words, override the query function), but that seems unduly complex.

    Any good ideas?
    Avi


  • I too have this goal. I would like to be able to search by first or last name. How can one customize the search routine of the combobox. Does this require a plugin? Thanks.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about ComboBox with multiple search fields? , Please add it free.