GanttView column filtering

5 posts, 1 answers
  1. Ron
    Ron avatar
    26 posts
    Member since:
    Oct 2010

    Posted 21 Mar 2013 Link to this post

    Hi,

    Is there anyway to add filtering to the columns header in the grid section of the GanttView?

    thanks
  2. Answer
    Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 26 Mar 2013 Link to this post

    Hi Ron,

    In the current version of RadGanttView control there isn't a built-in filtering feature that could be used to filter the columns in the grid part of the control because the implementation of such functionality might be scenario specific and we believe that implementing a general approach for it is out of the scope of the control.

    You can check our SDK example that demonstrate how to implement sorting in the grid portion of the control by creating attached properties. Our online SDK repository is available here and the corresponding example is listed as GanttView/GridSorting. The approach on achieving filtering in the GanttView control is similar to the one in the sorting example.

    Hope this is helpful.

    Kind regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Ron
    Ron avatar
    26 posts
    Member since:
    Oct 2010

    Posted 26 Mar 2013 Link to this post

    Thanks Vladi,

    I will try that
  5. Ron
    Ron avatar
    26 posts
    Member since:
    Oct 2010

    Posted 05 Apr 2013 Link to this post

    Hi Vladi,

    The problem with this solution is that you can't have different defined filter options per column, for example I will like for Text columns Textboxes, for Date Columns, date pickers, and for reference data fields, a dropdown with possible valid values....

    Is there anyway to accomplish this?

    thanks in advance for your help
  6. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 08 Apr 2013 Link to this post

    Hi,

    As mentioned before in the current version of RadGanttView there isn't a built-in filtering feature in the control and the previously proposed approach is just an example approach on achieving the desired behavior.

    In order to have different filters for different columns you could use another attached property that will hold information for the "type" of the column and base the filtering on that information. This is a good starting point in achieving the desired behavior but we cannot provide you with a sample project of this approach and there could be some unexpected issues when using it.

    Kind regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner