Filter multiple fields

2 posts, 0 answers
  1. Janos
    Janos avatar
    1 posts
    Member since:
    Apr 2016

    Posted 13 Apr 2016 Link to this post

    Is there a way to enable the multi-select widget to filter more than one field?

    Let's say we want to filter data like the following:

    var data = [
        name: "ABC",
        city: "City1",
        id: 123
        name: "DEF",
        city: "City2",

    The dataTextField is "id" as well as the dataValueField:

    $scope.selectOptions = {
          dataTextField: "id",
          dataValueField: "id",
          valuePrimitive: true,
          autoBind: false,
          tagMode: "single",
          filter: "contains",
          filtering: function(e) {
            // magic here?
          dataSource: {
            transport: {
              read: function(options) {
                //get data

    How can I achieve that the multi-select suggestions show all items which field values contain the letter "D"?


  2. Alexander Popov
    Alexander Popov avatar
    1445 posts

    Posted 15 Apr 2016 Link to this post

    Hi Janos,

    This behavior is not supported out of the box. You could however, use server-side filtering, which will allow you to apply the filtering criteria to any field necessary.

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