Filter by Contains doesn't work when comboBox has an initial text

2 posts, 0 answers
  1. Alan
    Alan avatar
    2 posts
    Member since:
    Jun 2014

    Posted 21 Jul 2014 Link to this post

    When I set a value to text property of ComboBox and then open the list of items , this shows all the items.This has to show only the items that contains the text entered.
    I don't know what is the mistake. Could you help me ?

    first step:

    second step:

    third step: Open the list of Items.
  2. Georgi Krustev
    Georgi Krustev avatar
    3725 posts

    Posted 21 Jul 2014 Link to this post

    Hello Alan,

    The text method tries to select a data item based on its dataTextField. This method does not filter the data source. If you would like to filter the widget through its API, then use the search method. Please note that it will filter the items only if the filter option is set.

    Georgi Krustev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top