Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
In a Microsoft Excel file, you can create an outline for the data to let you show and hide levels of detail with a single mouse click.
Click the Outline Symbols, 1,2,3, + and - to quickly display only the rows or columns that provide summaries or headings for sections in a worksheet, or you can use the symbols to see details under an individual summary or heading as shown below in the figure:
| Grouping Rows and Columns. |
|---|
![]() |
Aspose.Cells for Python via .NET provides a class, Workbook that represents a Microsoft Excel file. The Workbook class contains a WorksheetCollection that allows access to each worksheet in the Excel file. A worksheet is represented by the Worksheet class. The Worksheet class provides a Cells collection that represents all cells in the worksheet.
The Cells collection provides several methods to manage rows or columns in a worksheet, few of these are discussed below in more detail.
It is possible to group rows or columns by calling the group_rows and group_columns methods of the Cells collection. Both methods take the following parameters:
Microsoft Excel allows you to configure group settings for displaying:
Developers can configure these group settings using the outline property of the Worksheet class.
It is possible to control whether summary rows are displayed below detail by setting the Outline class' summary_row_below property to true or false.
Developers can also control displaying summary columns to the right of detail by setting the summary_column_right property of Outline class to true or false.
To ungroup any grouped rows or columns, call the Cells collection’s ungroup_rows and ungroup_columns methods. Both methods take two parameters:
ungroup_rows has an overload that takes a Boolean third parameter. Setting it to true removes all grouped information. Otherwise, only the outer group information is removed.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.