The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

PivotField.ShowAllItems() Method

Displays all items in the PivotTable field.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

void ShowAllItems()
Sub ShowAllItems
void ShowAllItems()
Sub ShowAllItems
void ShowAllItems()
Sub ShowAllItems

Remarks

Use this method to remove a filter applied to the PivotTable field and redisplay all the items in this field.

Dim worksheet As Worksheet = workbook.Worksheets("Report4")
workbook.Worksheets.ActiveWorksheet = worksheet

' Access the pivot table by its name in the collection.
Dim pivotTable As PivotTable = worksheet.PivotTables("PivotTable1")

' Show the first item in the "Product" field.
pivotTable.Fields(1).ShowSingleItem(0)

'Show all items in the "Product" field (the default option).
'pivotTable.Fields[1].ShowAllItems();
See Also