Unplanned
Last Updated: 23 Jan 2020 07:11 by ADMIN
Ben
Created on: 22 Nov 2019 00:05
Category: Gantt
Type: Feature Request
5
Gantt Filtering
I would love to see a feature added to the MVC Gantt control that would allow filtering tasks within the Gantt. Currently when we filter tasks in our Gantt using an external filter which filters the datasource tasks are dropped from the result set if their parent tasks do not meet the filter criteria. This is obviously a problem and makes filtering useless when tasks are dropped when they actually meet the criteria. I would like to see the filtering work as the TreeView and TreeList controls do. When you filter a column in those controls the parent items are returned regardless of whether they meet the filter criteria. This is needed in a hierarchical control like the Gantt chart.

This would be a great addition to the control. In the meantime, we'll either leave filtering out of our application or try to find a way to recursively gather all of the parent task ids and include them in our service to return tasks that meet the filter criteria.

Thanks for considering!
Ben
3 comments
ADMIN
Aleksandar
Posted on: 05 Dec 2019 16:00

Hello Ben,

I apologize if my initial response was not clear enough. Indeed, currently, the available workaround is creating the complex filter that includes the parent tasks, as in the approach you have described. 

We use the portal to prioritize new features and schedule them for implementation in future releases based on the demand, so keep monitoring the Public Feedback Item for any updates on this request.

Regards,
Aleksandar
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.
Ben
Posted on: 29 Nov 2019 04:56

Thanks Aleksandar. Unfortunately, filtering at the datasource does not achieve the desired result. I am doing that currently, however, if the filter doesn't include all parent tasks then the lower level tasks are not displayed in the Gantt. What I'd like to see is when lower level tasks are returned by a filter then any higher level parent tasks would also be returned. Unless I'm missing something, I don't see a clean way to achieve that with the current control without some complex query logic to get all parent tasks.

Thank you!
Ben

ADMIN
Aleksandar
Posted on: 28 Nov 2019 15:29

Hello Ben,

Thank you for the interest in the Gantt widget and for logging this Feature request. Based on the support it receives from the community and our priority queue, we will consider whether to proceed with its implementation. I would suggest monitoring the thread for further notifications on this issue.

In the meantime, you could achieve the desired result by filtering the widget's dataSource to display the tasks of interest. You will need to filter for the parent tasks of the task you look for as well, to make sure the tasks that match the criteria are displayed.

As a token of gratitude, I have updated your Telerik Points accordingly.

Regards,
Aleksandar
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.