This is a migrated thread and some comments may be shown as answers.

GanttView column filtering

4 Answers 104 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 21 Mar 2013, 08:41 PM
Hi,

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

thanks

4 Answers, 1 is accepted

Sort by
0
Accepted
Vladi
Telerik team
answered on 26 Mar 2013, 12:16 PM
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.

0
Ron
Top achievements
Rank 1
answered on 26 Mar 2013, 01:35 PM
Thanks Vladi,

I will try that
0
Ron
Top achievements
Rank 1
answered on 05 Apr 2013, 02:48 PM
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
0
Vladi
Telerik team
answered on 08 Apr 2013, 12:25 PM
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.

Tags
GanttView
Asked by
Ron
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Ron
Top achievements
Rank 1
Share this question
or