public class PivotTableImpl extends AbstractComponent<JmixPivotTable> implements PivotTable, org.springframework.beans.factory.InitializingBean
PivotTable.CellClickEvent, PivotTable.RefreshEventComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperHasContextHelp.ContextHelpIconClickEvent| Modifier and Type | Field and Description |
|---|---|
protected CellClickListener |
cellClickHandler |
protected io.jmix.core.security.CurrentAuthentication |
currentAuthentication |
protected io.jmix.core.Messages |
messages |
protected io.jmix.core.MessageTools |
messageTools |
protected PivotTableLocaleHelper |
pivotTableLocaleHelper |
protected RefreshListener |
refreshHandler |
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentNAMEAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE| Constructor and Description |
|---|
PivotTableImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAggregationProperties(java.lang.String... aggregationProperties)
Adds an array of properties names to prepopulate
in vals area (gets passed to aggregator generating function).
|
io.jmix.core.common.event.Subscription |
addCellClickListener(java.util.function.Consumer<PivotTable.CellClickEvent> listener)
Adds a listener to the pivot table cell click events.
|
void |
addColumns(java.lang.String... cols)
Adds an array of property names to use as columns.
|
void |
addData(DataItem... dataItems)
Adds a data item to data provider.
|
void |
addExclusions(java.lang.String property,
java.lang.String... exclusions)
Adds a values to given key of exclusions map.
|
void |
addHiddenFromAggregations(java.lang.String... hiddenFromAggregations)
Adds an array of properties names to omit from the aggregation arguments dropdowns.
|
void |
addHiddenFromDragDrop(java.lang.String... hiddenFromDragDrop)
Adds an array of properties names to omit from the drag'n'drop portion of the UI.
|
void |
addHiddenProperties(java.lang.String... hiddenProperties)
Adds an array of properties names to omit from the UI.
|
void |
addInclusions(java.lang.String property,
java.lang.String... inclusions)
Adds a values to given key of inclusions map.
|
void |
addProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Adds a map whose keys are
DataItem property names to use as pivot table data
and values they localized names. |
void |
addProperty(java.lang.String property,
java.lang.String value)
Add a property eith its localized value
|
io.jmix.core.common.event.Subscription |
addRefreshListener(java.util.function.Consumer<PivotTable.RefreshEvent> refreshListener)
Adds a listener to the pivot table refresh events.
|
void |
addRows(java.lang.String... rows)
Adds an array of properties names to use as rows.
|
void |
afterPropertiesSet() |
protected JmixPivotTable |
createComponent() |
protected PivotTableSerializer |
createPivotTableSerializer() |
Aggregation |
getAggregation() |
java.util.List<java.lang.String> |
getAggregationProperties() |
Aggregations |
getAggregations() |
java.lang.Boolean |
getAutoSortUnusedProperties() |
ColumnOrder |
getColumnOrder() |
java.util.List<java.lang.String> |
getColumns() |
DataProvider |
getDataProvider() |
DerivedProperties |
getDerivedProperties() |
java.lang.String |
getEmptyDataMessage() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getExclusions() |
JsFunction |
getFilterFunction() |
java.util.List<java.lang.String> |
getHiddenFromAggregations() |
java.util.List<java.lang.String> |
getHiddenFromDragDrop() |
java.util.List<java.lang.String> |
getHiddenProperties() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getInclusions() |
java.lang.Integer |
getMenuLimit() |
java.lang.String |
getNativeJson() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
Renderer |
getRenderer() |
RendererOptions |
getRendererOptions() |
Renderers |
getRenderers() |
RowOrder |
getRowOrder() |
java.util.List<java.lang.String> |
getRows() |
JsFunction |
getSortersFunction() |
UnusedPropertiesVertical |
getUnusedPropertiesVertical() |
protected void |
initLocale() |
java.lang.Boolean |
isColTotalsShown() |
boolean |
isEditable() |
java.lang.Boolean |
isRowTotalsShown() |
java.lang.Boolean |
isShowUI() |
protected void |
onCellClick(CellClickEvent e) |
protected void |
onRefresh(RefreshEvent e) |
void |
repaint()
Resend all items and properties to client and repaint pivot table.
|
void |
setAggregation(Aggregation aggregation)
Sets the aggregation object.
|
void |
setAggregationProperties(java.util.List<java.lang.String> aggregationProperties)
Sets the list of properties names to prepopulate
in vals area (gets passed to aggregator generating function).
|
void |
setAggregations(Aggregations aggregations)
Sets the aggregations object which defines the collection of aggregations
to use in pivot table and additional settings for them.
|
void |
setAutoSortUnusedProperties(java.lang.Boolean autoSortUnusedProperties)
Controls whether or not unused properties are kept sorted in the UI.
|
void |
setColumnOrder(ColumnOrder columnOrder)
Set the order in which column data is provided to the renderer.
|
void |
setColumns(java.util.List<java.lang.String> cols)
Sets the list of property names to use as columns.
|
void |
setCurrentAuthentication(io.jmix.core.security.CurrentAuthentication currentAuthentication) |
void |
setDataProvider(DataProvider dataProvider)
Sets data provider for PivotTable.
|
void |
setDerivedProperties(DerivedProperties derivedProperties)
Sets object to define derived properties.
|
void |
setEditable(boolean editable) |
void |
setEmptyDataMessage(java.lang.String emptyDataMessage)
Sets the message that will be displayed in case of empty data.
|
void |
setExclusions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> exclusions)
Sets map whose keys are properties names and values are lists of properties values
which denote records to exclude from rendering; used to prepopulate the filter menus
that appear on double-click.
|
void |
setExclusions(java.lang.String property,
java.util.List<java.lang.String> exclusions)
Sets the value of exclusions map.
|
void |
setFilterFunction(JsFunction filter)
Sets the
JsFunction which defines a javascript code
called on each record, returns false if the record is to be
excluded from the input before rendering or true otherwise |
void |
setHiddenFromAggregations(java.util.List<java.lang.String> hiddenFromAggregations)
Sets the list of properties names to omit from the aggregation arguments dropdowns.
|
void |
setHiddenFromDragDrop(java.util.List<java.lang.String> hiddenFromDragDrop)
Sets the list of properties names to omit from the drag'n'drop portion of the UI.
|
void |
setHiddenProperties(java.util.List<java.lang.String> hiddenProperties)
Sets the list of properties names to omit from the UI.
|
void |
setInclusions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> inclusions)
Sets map whose keys are properties names and values are lists of properties values
which denote records to include in rendering; used to prepopulate the filter menus
that appear on double-click (overrides
exclusions). |
void |
setInclusions(java.lang.String property,
java.util.List<java.lang.String> inclusions)
Sets the value of inclusions map.
|
void |
setMenuLimit(java.lang.Integer menuLimit)
Sets maximum number of values to list in the double-click menu.
|
void |
setMessages(io.jmix.core.Messages messages) |
void |
setMessageTools(io.jmix.core.MessageTools messageTools) |
void |
setNativeJson(java.lang.String json)
Set additional JSON configuration as a string.
|
void |
setPivotTableLocaleHelper(PivotTableLocaleHelper helper) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the map whose keys are
DataItem property names to use as pivot table data
and values they localized names. |
void |
setRenderer(Renderer renderer)
Sets the renderer object.
|
void |
setRendererOptions(RendererOptions rendererOptions)
Sets object passed through to renderer as options.
|
void |
setRenderers(Renderers renderers)
Sets the renderers object which defines the collection of renderers to use
in pivot table and additional settings for them.
|
void |
setRowOrder(RowOrder rowOrder)
Sets the order in which row data is provided to the renderer.
|
void |
setRows(java.util.List<java.lang.String> rows)
Sets the list of properties names to use as rows.
|
void |
setShowColTotals(java.lang.Boolean showColTotals)
Set
false if col totals shouldn't be shown and true otherwise. |
void |
setShowRowTotals(java.lang.Boolean showRowTotals)
Set
false if row totals shouldn't be shown and true otherwise. |
void |
setShowUI(java.lang.Boolean showUI)
Hides or shows UI elements in the editable pivot table.
|
void |
setSortersFunction(JsFunction sorters)
Sets the
JsFunction which defines a javascript code
called with an property name and can return a function which can be used
as an argument to Array.sort for output purposes. |
void |
setUnusedPropertiesVertical(UnusedPropertiesVertical unusedPropertiesVertical)
Controls whether or not unused properties are shown vertically
instead of the default which is horizontally.
|
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFrame, setFrameisEditableWithParentaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositiongetCaption, setCaptiongetDescription, setDescriptionprotected RefreshListener refreshHandler
protected CellClickListener cellClickHandler
protected io.jmix.core.Messages messages
protected io.jmix.core.MessageTools messageTools
protected io.jmix.core.security.CurrentAuthentication currentAuthentication
protected PivotTableLocaleHelper pivotTableLocaleHelper
protected JmixPivotTable createComponent()
protected PivotTableSerializer createPivotTableSerializer()
@Autowired public void setMessages(io.jmix.core.Messages messages)
@Autowired public void setCurrentAuthentication(io.jmix.core.security.CurrentAuthentication currentAuthentication)
@Autowired public void setMessageTools(io.jmix.core.MessageTools messageTools)
@Autowired public void setPivotTableLocaleHelper(PivotTableLocaleHelper helper)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionprotected void initLocale()
public void repaint()
PivotTablerepaint in interface PivotTablepublic boolean isEditable()
isEditable in interface Component.Editablepublic void setEditable(boolean editable)
setEditable in interface Component.Editablepublic java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties in interface PivotTableDataItem property names to use as pivot table data
and values they localized namespublic void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
PivotTableDataItem property names to use as pivot table data
and values they localized names.setProperties in interface PivotTableproperties - a map of properties names with localized valuespublic void addProperties(java.util.Map<java.lang.String,java.lang.String> properties)
PivotTableDataItem property names to use as pivot table data
and values they localized names.addProperties in interface PivotTableproperties - a map of properties names with localized valuespublic void addProperty(java.lang.String property,
java.lang.String value)
PivotTableaddProperty in interface PivotTableproperty - property namevalue - localized valuepublic java.util.List<java.lang.String> getRows()
getRows in interface PivotTablepublic void setRows(java.util.List<java.lang.String> rows)
PivotTablesetRows in interface PivotTablerows - a list of properties namespublic void addRows(java.lang.String... rows)
PivotTableaddRows in interface PivotTablerows - an array of properties namespublic java.util.List<java.lang.String> getColumns()
getColumns in interface PivotTablepublic void setColumns(java.util.List<java.lang.String> cols)
PivotTablesetColumns in interface PivotTablecols - a list of properties namespublic void addColumns(java.lang.String... cols)
PivotTableaddColumns in interface PivotTablecols - an array of properties namespublic Aggregation getAggregation()
getAggregation in interface PivotTablepublic void setAggregation(Aggregation aggregation)
PivotTable
Applies only when editable=false.
setAggregation in interface PivotTableaggregation - an aggregation objectpublic Renderer getRenderer()
getRenderer in interface PivotTablepublic void setRenderer(Renderer renderer)
PivotTable
Applies only when editable=false.
setRenderer in interface PivotTablerenderer - a renderer objectpublic java.util.List<java.lang.String> getAggregationProperties()
getAggregationProperties in interface PivotTablepublic void setAggregationProperties(java.util.List<java.lang.String> aggregationProperties)
PivotTable
Applies only when editable=true.
setAggregationProperties in interface PivotTableaggregationProperties - a list of properties namespublic void addAggregationProperties(java.lang.String... aggregationProperties)
PivotTable
Applies only when editable=true.
addAggregationProperties in interface PivotTableaggregationProperties - an array of properties namespublic Aggregations getAggregations()
getAggregations in interface PivotTablepublic void setAggregations(Aggregations aggregations)
PivotTable
Applies only when editable=true.
setAggregations in interface PivotTableaggregations - an aggregations objectpublic Renderers getRenderers()
getRenderers in interface PivotTablepublic void setRenderers(Renderers renderers)
PivotTable
Applies only when editable=true.
setRenderers in interface PivotTablerenderers - a renderers objectpublic java.util.List<java.lang.String> getHiddenProperties()
getHiddenProperties in interface PivotTablepublic void setHiddenProperties(java.util.List<java.lang.String> hiddenProperties)
PivotTable
Applies only when editable=true.
setHiddenProperties in interface PivotTablehiddenProperties - a list of properties namespublic void addHiddenProperties(java.lang.String... hiddenProperties)
PivotTable
Applies only when editable=true.
addHiddenProperties in interface PivotTablehiddenProperties - an array of properties namespublic java.util.List<java.lang.String> getHiddenFromAggregations()
getHiddenFromAggregations in interface PivotTablepublic void setHiddenFromAggregations(java.util.List<java.lang.String> hiddenFromAggregations)
PivotTable
Applies only when editable=true.
setHiddenFromAggregations in interface PivotTablehiddenFromAggregations - a list of properties namespublic void addHiddenFromAggregations(java.lang.String... hiddenFromAggregations)
PivotTable
Applies only when editable=true.
addHiddenFromAggregations in interface PivotTablehiddenFromAggregations - an array of properties namespublic java.util.List<java.lang.String> getHiddenFromDragDrop()
getHiddenFromDragDrop in interface PivotTablepublic void setHiddenFromDragDrop(java.util.List<java.lang.String> hiddenFromDragDrop)
PivotTable
Applies only when editable=true.
setHiddenFromDragDrop in interface PivotTablehiddenFromDragDrop - a list of properties namespublic void addHiddenFromDragDrop(java.lang.String... hiddenFromDragDrop)
PivotTable
Applies only when editable=true.
addHiddenFromDragDrop in interface PivotTablehiddenFromDragDrop - an array of properties namespublic ColumnOrder getColumnOrder()
getColumnOrder in interface PivotTablepublic void setColumnOrder(ColumnOrder columnOrder)
PivotTableOrdering by value orders by column total.
setColumnOrder in interface PivotTablecolumnOrder - the order in which column data is provided to the rendererpublic RowOrder getRowOrder()
getRowOrder in interface PivotTablepublic void setRowOrder(RowOrder rowOrder)
PivotTableOrdering by value orders by row total.
setRowOrder in interface PivotTablerowOrder - the order in which row data is provided to the rendererpublic java.lang.Integer getMenuLimit()
getMenuLimit in interface PivotTablepublic void setMenuLimit(java.lang.Integer menuLimit)
PivotTable
Applies only when editable=true.
setMenuLimit in interface PivotTablemenuLimit - maximum number of values to list in the double-click menupublic java.lang.Boolean getAutoSortUnusedProperties()
getAutoSortUnusedProperties in interface PivotTabletrue if unused properties are kept sorted in the UI and false otherwisepublic void setAutoSortUnusedProperties(java.lang.Boolean autoSortUnusedProperties)
PivotTable
Applies only when editable=true.
setAutoSortUnusedProperties in interface PivotTableautoSortUnusedProperties - true if unused properties are
kept sorted in the UI and false otherwisepublic UnusedPropertiesVertical getUnusedPropertiesVertical()
getUnusedPropertiesVertical in interface PivotTabletrue if unused attributes are shown always vertical,
false if always horizontal. If set to
a number (as is the default) then if the properties' names' combined
length in characters exceeds the number then the properties will be shown vertically.public void setUnusedPropertiesVertical(UnusedPropertiesVertical unusedPropertiesVertical)
PivotTabletrue means
always vertical, false means always horizontal. If set to
a number (as is the default) then if the properties' names' combined
length in characters exceeds the number then the properties will be shown vertically.
Applies only when editable=true.
setUnusedPropertiesVertical in interface PivotTableunusedPropertiesVertical - propertiespublic DataProvider getDataProvider()
getDataProvider in interface PivotTablepublic void setDataProvider(DataProvider dataProvider)
PivotTablesetDataProvider in interface PivotTabledataProvider - a data providerpublic void addData(DataItem... dataItems)
PivotTableaddData in interface PivotTabledataItems - a data item to addpublic JsFunction getFilterFunction()
getFilterFunction in interface PivotTableJsFunction which defines a javascript code
called on each record, returns false if the record is to be
excluded from the input before rendering or true otherwisepublic void setFilterFunction(JsFunction filter)
PivotTableJsFunction which defines a javascript code
called on each record, returns false if the record is to be
excluded from the input before rendering or true otherwisesetFilterFunction in interface PivotTablefilter - a JsFunction to use as a filterpublic JsFunction getSortersFunction()
getSortersFunction in interface PivotTableJsFunction which defines a javascript code
called with an property name and can return a function which can be used
as an argument to Array.sort for output purposes. If no function
is returned, the default sorting mechanism is a built-in "natural sort"
implementation. Useful for sorting attributes like month namespublic void setSortersFunction(JsFunction sorters)
PivotTableJsFunction which defines a javascript code
called with an property name and can return a function which can be used
as an argument to Array.sort for output purposes. If no function
is returned, the default sorting mechanism is a built-in "natural sort"
implementation. Useful for sorting attributes like month namessetSortersFunction in interface PivotTablesorters - a JsFunction to use as a sorterspublic RendererOptions getRendererOptions()
getRendererOptions in interface PivotTablepublic void setRendererOptions(RendererOptions rendererOptions)
PivotTablesetRendererOptions in interface PivotTablerendererOptions - object defines renderer optionspublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getInclusions()
getInclusions in interface PivotTablepublic void setInclusions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> inclusions)
PivotTableexclusions).
Applies only when editable=true.
setInclusions in interface PivotTableinclusions - map with properties and values included in renderingPivotTable.setInclusions(String, List),
PivotTable.addInclusions(String, String...),
PivotTable.setExclusions(Map),
PivotTable.setExclusions(String, List),
PivotTable.addExclusions(String, String...)public void setInclusions(java.lang.String property,
java.util.List<java.lang.String> inclusions)
PivotTablesetInclusions in interface PivotTableproperty - property nameinclusions - a list of properties valuesPivotTable.setInclusions(Map),
PivotTable.addInclusions(String, String...),
PivotTable.setExclusions(Map),
PivotTable.setExclusions(String, List),
PivotTable.addExclusions(String, String...)public void addInclusions(java.lang.String property,
java.lang.String... inclusions)
PivotTableaddInclusions in interface PivotTableproperty - a property nameinclusions - an array of properties valuesPivotTable.setInclusions(Map),
PivotTable.setInclusions(String, List),
PivotTable.setExclusions(Map),
PivotTable.setExclusions(String, List),
PivotTable.addExclusions(String, String...)public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getExclusions()
getExclusions in interface PivotTablepublic void setExclusions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> exclusions)
PivotTable
Applies only when editable=true.
setExclusions in interface PivotTableexclusions - map with properties and values excluded from renderingPivotTable.setExclusions(String, List),
PivotTable.addExclusions(String, String...),
PivotTable.setInclusions(Map),
PivotTable.setInclusions(String, List),
PivotTable.addInclusions(String, String...)public void setExclusions(java.lang.String property,
java.util.List<java.lang.String> exclusions)
PivotTablesetExclusions in interface PivotTableproperty - property nameexclusions - a list of properties valuesPivotTable.setExclusions(Map),
PivotTable.addExclusions(String, String...),
PivotTable.setInclusions(Map),
PivotTable.setInclusions(String, List),
PivotTable.addInclusions(String, String...)public void addExclusions(java.lang.String property,
java.lang.String... exclusions)
PivotTableaddExclusions in interface PivotTableproperty - a property nameexclusions - an array of properties valuesPivotTable.setExclusions(Map),
PivotTable.setExclusions(String, List),
PivotTable.setInclusions(Map),
PivotTable.setInclusions(String, List),
PivotTable.addInclusions(String, String...)public DerivedProperties getDerivedProperties()
getDerivedProperties in interface PivotTablepublic void setDerivedProperties(DerivedProperties derivedProperties)
PivotTablesetDerivedProperties in interface PivotTablederivedProperties - object to define derived propertiespublic java.lang.String getNativeJson()
getNativeJson in interface PivotTablepublic void setNativeJson(java.lang.String json)
PivotTablesetNativeJson in interface PivotTablejson - additional JSON configurationpublic java.lang.String getEmptyDataMessage()
getEmptyDataMessage in interface PivotTablepublic void setEmptyDataMessage(java.lang.String emptyDataMessage)
PivotTablesetEmptyDataMessage in interface PivotTableemptyDataMessage - the message that will be displayed in case of empty datapublic io.jmix.core.common.event.Subscription addRefreshListener(java.util.function.Consumer<PivotTable.RefreshEvent> refreshListener)
PivotTableaddRefreshListener in interface PivotTablerefreshListener - a listener to addprotected void onRefresh(RefreshEvent e)
public io.jmix.core.common.event.Subscription addCellClickListener(java.util.function.Consumer<PivotTable.CellClickEvent> listener)
PivotTableaddCellClickListener in interface PivotTablelistener - a listener to addprotected void onCellClick(CellClickEvent e)
public void setShowUI(java.lang.Boolean showUI)
PivotTabletrue by default.
editable=true.setShowUI in interface PivotTableshowUI - true if UI elements should be shown and false otherwisepublic java.lang.Boolean isShowUI()
isShowUI in interface PivotTabletrue if pivotUI() should be shown and false otherwisepublic void setShowRowTotals(java.lang.Boolean showRowTotals)
PivotTablefalse if row totals shouldn't be shown and true otherwise. Works only for table renderers.
true by default.setShowRowTotals in interface PivotTableshowRowTotals - false if row totals shouldn't be shown and true otherwisepublic java.lang.Boolean isRowTotalsShown()
isRowTotalsShown in interface PivotTablefalse if row totals shouldn't be shown and true otherwisepublic void setShowColTotals(java.lang.Boolean showColTotals)
PivotTablefalse if col totals shouldn't be shown and true otherwise. Works only for table renderers.
true by default.setShowColTotals in interface PivotTableshowColTotals - false if col totals shouldn't be shown and true otherwisepublic java.lang.Boolean isColTotalsShown()
isColTotalsShown in interface PivotTablefalse if col totals shouldn't be shown and true otherwise