PivotItem.ShowDetails Property
Gets or sets a value indicating whether the outline is expanded for the pivot item.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to show details for the current item; otherwise, false. |
Remarks
The ShowDetails property is in effect only when the specified item belongs to an outer row or column field and can be used to expand or collapse the details for the item.
For example, the following code snippet demonstrates how to hide details for the first item (“Dairy Products”) in the “Category” field.
The image below shows the result of the code’s execution.
Note that you can also hide the expand/collapse buttons in the report by using the PivotViewOptions.ShowDrillIndicators property.