PivotItem Class

PivotItem class

Represents a item in a PivotField report.


type PivotItem struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
IsHiddenGets and Sets whether the pivot item is hidden.
SetIsHiddenGets and Sets whether the pivot item is hidden.
GetPositionSpecifying the position index in all the PivotItems,not the PivotItems under the same parent node.
SetPositionSpecifying the position index in all the PivotItems,not the PivotItems under the same parent node.
GetPositionInSameParentNodeSpecifying the position index in the PivotItems under the same parent node.
SetPositionInSameParentNodeSpecifying the position index in the PivotItems under the same parent node.
MoveMoves the item up or down
IsDetailHiddenGets and sets whether the detail of this pivot item is hidden.
SetIsDetailHiddenGets and sets whether the detail of this pivot item is hidden.
IsCalculatedItemIndicates whether this pivot item is a calculated formula item.
GetFormulaGets the formula of this calculated item.Only works when this item is calculated item.
IsMissingIndicates whether the item is removed from the data source.
GetStringValueGets the string value of the pivot itemIf the value is null, it will return ""
GetDoubleValueGets the double value of the pivot itemIf the value is null or not number ,it will return 0
GetDateTimeValueGets the date time value of the pivot itemIf the value is null ,it will return DateTime.MinValue
GetValueGets the value of the pivot item
GetNameGets the name of the pivot item.
SetNameGets the name of the pivot item.
GetIndexGets the index of the pivot item in cache field.
SetIndexGets the index of the pivot item in cache field.