public class GridPivotField
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName()
Represents the PivotField display name.
|
int |
getFunction()
Represents the function used to summarize the PivotTable data field.
|
int |
getPosition()
Represents the PivotField index in the PivotFields.
|
void |
hideItem(int index,
boolean isHidden)
Sets whether the specific PivotItem in a data field is hidden.
|
void |
hideItemByName(java.lang.String name,
boolean isHidden)
Sets whether the specific PivotItem in a data field is hidden.
|
void |
hideItemByValue(java.lang.String value,
boolean isHidden)
Sets whether the specific PivotItem in a data field is hidden.
|
boolean |
isAscendSort()
Indicates whether the specified PivotTable field is autosorted ascending.
|
boolean |
isAutoSort()
Indicates whether the specified PivotTable field is automatically sorted.
|
void |
setAscendSort(boolean value)
Indicates whether the specified PivotTable field is autosorted ascending.
|
void |
setAutoSort(boolean value)
Indicates whether the specified PivotTable field is automatically sorted.
|
void |
setDisplayName(java.lang.String value)
Represents the PivotField display name.
|
void |
setFunction(int value)
Represents the function used to summarize the PivotTable data field.
|
void |
setPosition(int value)
Represents the PivotField index in the PivotFields.
|
public int getFunction()
public void setFunction(int value)
public boolean isAutoSort()
public void setAutoSort(boolean value)
public boolean isAscendSort()
public void setAscendSort(boolean value)
public void hideItem(int index,
boolean isHidden)
index - the index of the pivotItem in the pivotField.isHidden - whether the specific PivotItem is hiddenpublic void hideItemByValue(java.lang.String value,
boolean isHidden)
value - the value of the pivotItem in the pivotField.isHidden - whether the specific PivotItem is hiddenpublic void hideItemByName(java.lang.String name,
boolean isHidden)
name - the name of the pivotItem in the pivotField.isHidden - whether the specific PivotItem is hiddenpublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String value)
public int getPosition()
public void setPosition(int value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.