## GridPivotField.HideItem method

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

```csharp
public void HideItem(int index, bool isHidden)
```

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

### See Also

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


