Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • MatchMode.CONTAINS: show all values that contain the string typed. If the whole string matches we have a match (the icon becomes green selected).
  • MatchMode.CONTAINS_CI: same as above, but the comparison is done case-independent. This is the default search mode.
  • MatchMode.STARTS: show all values that start with the string typed.
  • MatchMode.STARTS_CI: same as above, but using case-independent compare.

Searching in a database

The SearchAsYouType component is like a combobox, it has a fixed number of possible values set as a List<T>. To search the text in a database you need another component: SearchAsYouTypeQ. This component has the same user interface as the above one, but it queries the database for the data typed using a QCriteria based query.

COMPONENT TBD.