RadDataFilter: limit depth of filters tree

2 posts, 0 answers
  1. Nazario
    Nazario avatar
    1 posts
    Member since:
    Jun 2017

    Posted 15 Jun 2017 Link to this post

    Hi, we are using telerik RadDataFilter but we do not want the user to be able to create an infinite-depth tree of filters (we think an excessive deep tree makes the UI messy and can get the filtering too complicated). We'd like to limit the depth in a way that after, let's say, 5 level of filters nesting, the user can't be able to generate a new level by clicking on the last green button of the filter, possibly hiding the button or cancelling some way the operation. We couldn't find a way to achieve our goal.

    Thanks in advice!
  2. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 20 Jun 2017 Link to this post

    Hello Nazario,

    As you may have already guessed, such behavior is not available out-of-the-box. You will need to implement some customizations in order to restrict the control in such manner. A possible solution regarding such behavior is discussed in the Simplifily Requirements - DataFilter forum thread and more precisely, in the second and third points from the reply in it. Can you please take a look at it?

    I hope it helps you achieve the desired result.

    Best Regards,
    Stefan X1
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top