Filter among all columns

2 posts, 1 answers
  1. Bilal
    Bilal avatar
    109 posts
    Member since:
    Oct 2014

    Posted 21 Jun 2015 Link to this post


    I am planning to add an All-Columns-Grid filtering option. The grid contains multi-type columns, like string, numeric, and date data types.

    I could add a TextBox inside the Toolbar, however, to implement the filtering, I might add several filters one for each column in the Grid, casting the value entered to each column's data type. Would that be a viable solution?

    On the other hand, is there an out of the box solution for the above?


    Best regards


  2. Answer
    Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 24 Jun 2015 Link to this post

    Hi Bilal,

    Kendo Grid does not support multi-type columns. DataSource's schema allows the developer to assign single value type for each of the DataSource fields, one Grid column can be bound to only one DataSource field.

    In case you have column that displays different fields I am afraid that I cannot offer a solution.

    In case you want to filter on multiple columns (each column displays single data field) you may use TextBox and filter method of the DataSource.

    Through the filter method you can filter on multiple fields at once. For example:

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