Adding custom operators to column filter

2 posts, 0 answers
  1. Joe
    Joe avatar
    3 posts
    Member since:
    Aug 2016

    Posted 13 Oct 2016 Link to this post

    I've been testing the Grid and have been liking what I've seen so far. There is something that I'm getting caught up on at the moment though.

    I'd like to add some custom operators to the column filters for certain fields we use. Things like 'between', 'in list' etc. Is there a way to add these options or will we have to create a completely custom implementation of filtering? Thanks.

  2. Stefan
    Stefan avatar
    2236 posts

    Posted 14 Oct 2016 Link to this post

    Hello Joe,

    The desired behaviour to add custom operators can be achieved using the filter.operator property of the DataSource and using a custom function:

    More information can be found in similar threads in our forum. They also have some examples:

    Please have in mind that this is a custom filter, and adding it as an option in the filter menu is not supported.

    If you would like to suggest more filter operators that can be useful, submit a feature request in our UserVoice portal, and based on its popularity we may implement it in a future release:

    I hope this is helpful.

    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top