---
title: "Aspose::Cells::Pivot::PivotItemCollection::HideAllDetail method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.pivot/pivotitemcollection/hidealldetail/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Pivot::PivotItemCollection::HideAllDetail method. Sets whether to hide all detail of all PivotItems in a pivot field. That is collapse/expand this field in C++."
---

## PivotItemCollection::HideAllDetail method


Sets whether to hide all detail of all PivotItems in a pivot field. That is collapse/expand this field.


>Deprecated
>
>Use PivotField.HideAllDetails() and ShowAllDetails() method instead. 
```cpp
void Aspose::Cells::Pivot::PivotItemCollection::HideAllDetail(bool isHiddenDetail)
```


| Parameter | Type | Description |
| --- | --- | --- |
| isHiddenDetail | bool | Whether hide the detail of the pivot field. |
## Remarks



NOTE: This method is now obsolete. Instead, please use [PivotField.HideAllDetails()](../../pivotfield/hidealldetails/) and ShowAllDetails() method instead . This method will be removed 12 months later since November 2026. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotItemCollection](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
