Filterable with data source from angularjs

3 posts, 0 answers
  1. Bertha
    Bertha avatar
    87 posts
    Member since:
    Aug 2012

    Posted 04 Jan Link to this post

    I want kendo drop down list to be filterable by user typing but the data source is from my angularjs.  I could only find example with server filtering.  I tried to add filterable="true" but not sure what else need to add.  Thanks.

    <select id="fac" kendo-drop-down-list style="width: 260px" filterable="true"
    k-option-label="' Choose Region or Home '"

  2. Dimitar
    Dimitar avatar
    510 posts

    Posted 08 Jan Link to this post

    Hello Bertha,

    By default the Kendo UI DataSource filters data on the client. For the DropDownList widget, filtration is turned off by default - to enable it, simply specify the filtering method ("startswith", "contains" or "endswith") in the DropDownList filter option:
    <select kendo-drop-down-list
      k-option-label="' Choose a Product... '"
      style="width: 100%">             

    Checkout the following Dojo example, where the above is demonstrated in action. 

    In case you would like to perform filtering on the serverSide, the DataSource's serverFiltering option has to be set to true. This will force filtering to be performed on the server side.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Bertha
    Bertha avatar
    87 posts
    Member since:
    Aug 2012

    Posted 08 Jan Link to this post

    Fantastic!  Very easy to use.
Back to Top