
## hide_item(self, index, is_hidden) {#int-bool}

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



```python

def hide_item(self, index, is_hidden):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| index | int | the index of the pivotItem in the pivotField. |
| is_hidden | bool | whether the specific PivotItem is hidden |


## hide_item(self, item_value, is_hidden) {#System.String-bool}

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



```python

def hide_item(self, item_value, is_hidden):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| item_value | System.String | The name of the pivotItem in the pivotField. |
| is_hidden | bool | Whether the specific PivotItem is hidden |



### See Also
* module [`aspose.cells.pivot`](../../)
* class [`PivotField`](/cells/python-net/aspose.cells.pivot/pivotfield)
