Package com.grapecity.documents.excel
Interface IPivotItem
public interface IPivotItem
Represents an item in a PivotTable field. The items are the individual data entries in a field category. The PivotItem object is a member of the PivotItems collection. The PivotItems collection contains all the items in a PivotField.
-
Method Summary
Modifier and TypeMethodDescriptionGets the formula of calculated item.getName()Gets the name of the object.intGets the Position of the item in its field if the item is currently showing.booleanGets if the outline is expanded for the specified range (so that the detail of the column or row is visible).Returns the specified object’s name as it appears in the original source data for the specified PivotTable report.booleanDetermines whether the object is visible.voidsetFormula(String value) Sets the formula of calculated item.voidSets the name of the object.voidsetPosition(int value) Sets the Position of the item in its field if the item is currently showing.voidsetShowDetail(boolean value) Sets whether the outline is expanded for the specified range (so that the detail of the column or row is visible).voidsetVisible(boolean value) Determines whether the object is visible.
-
Method Details
-
getName
String getName()Gets the name of the object. -
setName
Sets the name of the object. -
getPosition
int getPosition()Gets the Position of the item in its field if the item is currently showing. -
setPosition
void setPosition(int value) Sets the Position of the item in its field if the item is currently showing. -
getShowDetail
boolean getShowDetail()Gets if the outline is expanded for the specified range (so that the detail of the column or row is visible).- Returns:
- the value indicates if the pivot item is expanded.
-
setShowDetail
void setShowDetail(boolean value) Sets whether the outline is expanded for the specified range (so that the detail of the column or row is visible).- Parameters:
value- indicates if the pivot item is expanded.
-
getSourceName
String getSourceName()Returns the specified object’s name as it appears in the original source data for the specified PivotTable report. This might be different from the current item name if the user renamed the item after creating the PivotTable report . -
getVisible
boolean getVisible()Determines whether the object is visible. -
setVisible
void setVisible(boolean value) Determines whether the object is visible. -
getFormula
String getFormula()Gets the formula of calculated item. -
setFormula
Sets the formula of calculated item.
-