Skip to content

Commit f948f66

Browse files
committed
Update guidelines.md
1 parent 6735c8c commit f948f66

File tree

1 file changed

+20
-0
lines changed
  • website/docs/components/table/advanced-table/partials/guidelines

1 file changed

+20
-0
lines changed

website/docs/components/table/advanced-table/partials/guidelines/guidelines.md

+20
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ Sticky headers keep column labels visible while scrolling, aiding navigation in
144144

145145
![](/assets/components/table/advanced-table/advanced-table-sticky-header.png)
146146

147+
147148
### Expandable rows
148149

149150
Expandable rows let users show or hide more content without navigating away from the table. The expanded content should align with the header labels, even if the parent row includes minimal data.
@@ -167,6 +168,25 @@ Avoid using different density settings for parent and child rows.
167168

168169
!!!
169170

171+
### Expand/Collapse All Button
172+
173+
#### Button States
174+
175+
The button updates based on the current expansion state of the table:
176+
177+
- Expand All will display when all rows are collapsed.
178+
179+
![](/assets/components/table/advanced-table/advanced-table-sticky-header.png)
180+
181+
- Collapse All will display when all rows are expanded.
182+
183+
![](/assets/components/table/advanced-table/advanced-table-sticky-header.png)
184+
185+
- Mixed State – Displays when some, but not all, rows are expanded.
186+
- Mixed State Behavior
187+
- The mixed state provides a visual cue that expansion states vary within the table. Selecting the button in this state expands all rows.
188+
189+
![](/assets/components/table/advanced-table/advanced-table-sticky-header.png)
170190

171191
### Striping
172192

0 commit comments

Comments
 (0)