search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler - hide parent resources when filtering

Asked by Iain Cochrane
1 year ago.

We have resources grouped by teams. When filtering, I would like to hide the top level team rows and only show the remaining children. Looking at the examples, it seems that if there is a child row, then the parent will always be shown, even if I've set the parent row visibility to false.

Is there any way round this that you can suggest? The only other way I can see would be to remove the grouping and add the team name as a column to the resource row, which would be a bigger code change than I'd want to make at this moment.

Answer posted by Dan Letecky [DayPilot]
1 year ago.

In the latest sandbox build (2021.1.4830), you can now control this using "rowFilterParentsAlwaysVisible" property. The default value is true but if you set it to false it will hide parents that don't meet the filter rules.

Comment posted by Iain Cochrane
1 year ago.

Thanks Dan for the fast response as always.

Comment posted by sathish
1 year ago.

dp.rowFilterParentsAlwaysVisible = false; is not working for me , please give any other solution for me

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.