---
title: "GridPivotField.HideItemByValue"
url: "https://reference.aspose.com/cells/net/aspose.cells.griddesktop.data/gridpivotfield/hideitembyvalue/"
product: "Aspose.Cells for .NET API Reference"
description: "GridPivotField method. Sets whether the specific PivotItem in a data field is hidden"
---

## GridPivotField.HideItemByValue method

Sets whether the specific PivotItem in a data field is hidden.

```csharp
public void HideItemByValue(string value, bool isHidden)
```

| Parameter | Type | Description |
| --- | --- | --- |
| value | String | the value of the pivotItem in the pivotField. |
| isHidden | Boolean | whether the specific PivotItem is hidden |

### See Also

* class [GridPivotField](../)
* namespace [Aspose.Cells.GridDesktop.Data](../../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../../)


