-
Notifications
You must be signed in to change notification settings - Fork 297
Grouping and Ungrouping Rows and Columns
Jan Källman edited this page Oct 31, 2022
·
7 revisions
EPPlus can group rows and columns and add buttons to expand or collape the rows/columns.
Grouping of rows and columns is set by the OutlineLevel property.
EPPlus 6.1 provides several new methods to group and expand and collapse rows and columns.
| Method | Description |
|---|---|
Group() |
Groups rows or columns together. Adds one to OutlineLevel property from 1-8 |
Ungroup() |
Ungroups rows or columns. Subtracts one from OutlineLevel property |
CollapseChildren() |
Collapses and hides the children of the row/columns. |
ExpandChildren() |
Expands and shows the children of the row/columns. |
SetVisibleOutlineLevel(int) |
Sets the visible level for a range of rows/columns |
EPPlus Software AB - https://epplussoftware.com
- What is new in EPPlus 5+
- Breaking Changes in EPPlus 5
- Breaking Changes in EPPlus 6
- Breaking Changes in EPPlus 7
- Breaking Changes in EPPlus 8
- Addressing a worksheet
- Dimension/Used range
- Copying ranges/sheets
- Insert/Delete
- Filling ranges
- Sorting ranges
- Taking and skipping columns/rows
- Data validation
- Comments
- Freeze and Split Panes
- Header and Footer
- Hyperlinks
- Autofit columns
- Grouping and Ungrouping Rows and Columns
- Formatting and styling
- The ExcelRange.Text property
- Conditional formatting
- Using Themes
- Working with custom named table- or slicer- styles