Step 1: Open the Gantt Chart
Navigate to the Polarion page containing your Gantt widget with the resource view enabled. If you have not yet enabled the resource view, set Show Resource View toYes in the widget parameters.
Step 2: Toggle Resource Hiding from the Toolbar
Click the Hide Empty Resources button in the Gantt toolbar. This toggles the visibility of resource rows that have no tasks in the currently visible time range and filter scope. When activated:- Resources with zero visible tasks are hidden from the resource view
- Resources with at least one visible task remain displayed
- The toggle state is preserved while you interact with the chart
How Resource Hiding Works
The resource hiding behavior evaluates each resource against the current view state:| Condition | Resource Visible? |
|---|---|
| Resource has tasks in current filter | Yes |
| Resource has no tasks in current filter | Hidden |
| Filter changes to include resource tasks | Automatically shown |
| Filter changes to exclude all resource tasks | Automatically hidden |
- You apply or change a filter
- Tasks are added or removed
- The visible time range changes
Resource hiding and the Show Unassigned option serve different purposes. Show Unassigned controls whether work items without an assignee appear in a dedicated “Unassigned” row. Hide Empty Resources controls whether resource rows with no assigned tasks are shown. These are independent features that can be used together.
Step 3: Combine with Resource Filtering (Optional)
You can combine resource hiding with resource-specific filtering for targeted views:- Enable resource hiding via the toolbar toggle
- Use the resource filter to narrow down to specific resources
- When a resource filter is active, only the filtered resource is shown — all other resources are hidden regardless of task assignments
Step 4: Verify Resource Hiding
After enabling the toggle:- Check that resources with no tasks in the current view are no longer displayed
- Apply a filter that excludes some tasks — verify that resources losing all visible tasks disappear
- Remove the filter — verify that previously hidden resources reappear
Verification
You should now see:- Only resources with active tasks displayed in the resource view
- Resource rows automatically appearing and disappearing as you change filters or the visible time range
- The hide empty resources toggle in the toolbar controlling the behavior
See Also
- Set Up the Resource View
- Filter by Resource and Allocation
- Configure Resource Fields
- Mark Tasks Without Resource Allocation
Sources
Sources
Support TicketsSource Code
prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/resources.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/commands.jsprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidgetDependenciesProcessor.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/ConfigPropertiesConsts.javaprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/gantt-Filter-Hide-Sort.cy.ts