XlsPivotField
HideItem Method (Int32, Boolean)
|
Sets whether the specific PivotItem in a data field is hidden.
Must call after pivottable CalculateData function.
Namespace:
Spire.Xls.Core.Spreadsheet.PivotTables
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void HideItem(
int index,
bool isHidden
)
Public Sub HideItem (
index As Integer,
isHidden As Boolean
)
public:
void HideItem(
int index,
bool isHidden
)
member HideItem :
index : int *
isHidden : bool -> unit
Parameters
-
index
-
Type:
System
Int32
the index of the pivotItem in the pivotField.
-
isHidden
-
Type:
System
Boolean
whether the specific PivotItem is hidden
See Also