Supported Custom Editors?

2 posts, 0 answers
  1. MJT
    MJT avatar
    1 posts
    Member since:
    Aug 2018

    Posted 26 Sep 2019 Link to this post

    The custom editor option for the Filter widget, what controls are supported?

    Trying to use, for example, the kendoMultiSelect results in an error, this dojo is just the standard custom editor editor demo but with the categoryDropDownEditor() function updated to return a kendoMultiSelect

    The multi select does work in the filter as expected, but throws an "Unexpected identifier" exception to the console when trying to apply to the datasource .. this suggests is not supported, but please correct me if I am wrong  :)

    In an ideal world, you could configure a field with a kendoMultiSelect as the editor, have operator options for Contains & Does not contain, and then select one or more values in the multi select, these would then be applied to the datasource

    I do understand that one can build the same query by adding multiple rules, but that could get quite verbose


    Thanks for any feedback!



  2. Viktor Tachev
    Viktor Tachev avatar
    2497 posts

    Posted 30 Sep 2019 Link to this post



    By design the Filter component was intended to add one condition per expression. Having a MultiSelect widget as an editor would mean including more than one condition for filtering from a single expression.

    Such functionality is not available out of the box, however, you can use a bit of custom logic similar to the one in the article below. This way you can extract the selected values from the MultiSelect and use them to build the filter expression.


    Viktor Tachev
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top