Group Columns - Profitbase/PowerBI-visuals-Gantt GitHub Wiki
The Group Columns feature in Edit Mode allows report authors to consolidate multiple grid columns into a single collapsible column group. This helps keep your task grid clean and readable by hiding less frequently used columns until a viewer decides to expand the group.
How to Create Column Groups
Step 1: Add a New Column Group
In Edit Mode, click the Group columns tab on the left and click the + button to create a new column grouping.
Step 2: Configure Group Properties
Set up your group identity and choose which columns to group together:
- Group Name: Give the group a name to easily identify it later.
- Default State: Choose whether the column group is expanded or collapsed by default.
- Columns to Group: Click on the column selector to choose which columns to include in the group. All columns currently mapped in your Additional Columns data bucket are available for selection.
Step 3: Set Formatting and Main Column
Configure how the group looks and behaves:
- Group Formatting: Apply colors or styling to the grouped column headers to distinguish them.
- Main Column: Select which column in the group should remain visible in the grid when the group is collapsed.
- Main Column Name Formatting: Apply custom styles (such as bold or color highlights) to make the Main Column header stand out.
Step 4: Save and View the Grouped Columns
Click Save in the Group Columns panel to apply your configuration to the visual.
-
Collapsed State: Shows only the main column with a toggle arrow beside it.
-
Expanded State: Shows all grouped columns.