Class PivotTableImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractComponent<JmixPivotTable>
io.jmix.pivottable.component.impl.PivotTableImpl
- All Implemented Interfaces:
PivotTable,AttachNotifier,Component,Component.BelongToFrame,Component.Editable,Component.HasCaption,Component.HasDescription,Component.HasIcon,Component.HasXmlDescriptor,Component.Wrapper,HasContextHelp,HasDebugId,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,org.springframework.beans.factory.InitializingBean
public class PivotTableImpl
extends AbstractComponent<JmixPivotTable>
implements PivotTable, org.springframework.beans.factory.InitializingBean
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEventNested classes/interfaces inherited from interface io.jmix.pivottable.component.PivotTable
PivotTable.CellClickEvent, PivotTable.RefreshEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CellClickListenerprotected CurrentAuthenticationprotected Messagesprotected MessageToolsprotected PivotTableLocaleHelperprotected RefreshListenerFields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZEFields inherited from interface io.jmix.pivottable.component.PivotTable
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAggregationProperties(String... aggregationProperties) Adds an array of properties names to prepopulate in vals area (gets passed to aggregator generating function).Adds a listener to the pivot table cell click events.voidaddColumns(String... cols) Adds an array of property names to use as columns.voidAdds a data item to data provider.voidaddExclusions(String property, String... exclusions) Adds a values to given key of exclusions map.voidaddHiddenFromAggregations(String... hiddenFromAggregations) Adds an array of properties names to omit from the aggregation arguments dropdowns.voidaddHiddenFromDragDrop(String... hiddenFromDragDrop) Adds an array of properties names to omit from the drag'n'drop portion of the UI.voidaddHiddenProperties(String... hiddenProperties) Adds an array of properties names to omit from the UI.voidaddInclusions(String property, String... inclusions) Adds a values to given key of inclusions map.voidaddProperties(Map<String, String> properties) Adds a map whose keys areDataItemproperty names to use as pivot table data and values they localized names.voidaddProperty(String property, String value) Add a property eith its localized valueaddRefreshListener(Consumer<PivotTable.RefreshEvent> refreshListener) Adds a listener to the pivot table refresh events.voidAdds an array of properties names to use as rows.voidprotected JmixPivotTableprotected PivotTableSerializergetRows()protected voidbooleanisShowUI()protected voidprotected voidvoidrepaint()Resend all items and properties to client and repaint pivot table.voidsetAggregation(Aggregation aggregation) Sets the aggregation object.voidsetAggregationProperties(List<String> aggregationProperties) Sets the list of properties names to prepopulate in vals area (gets passed to aggregator generating function).voidsetAggregations(Aggregations aggregations) Sets the aggregations object which defines the collection of aggregations to use in pivot table and additional settings for them.voidsetAutoSortUnusedProperties(Boolean autoSortUnusedProperties) Controls whether or not unused properties are kept sorted in the UI.voidsetColumnOrder(ColumnOrder columnOrder) Set the order in which column data is provided to the renderer.voidsetColumns(List<String> cols) Sets the list of property names to use as columns.voidsetCurrentAuthentication(CurrentAuthentication currentAuthentication) voidsetDataProvider(DataProvider dataProvider) Sets data provider for PivotTable.voidsetDerivedProperties(DerivedProperties derivedProperties) Sets object to define derived properties.voidsetEditable(boolean editable) voidsetEmptyDataMessage(String emptyDataMessage) Sets the message that will be displayed in case of empty data.voidsetExclusions(String property, List<String> exclusions) Sets the value of exclusions map.voidsetExclusions(Map<String, List<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.voidsetFilterFunction(JsFunction filter) Sets theJsFunctionwhich defines a javascript code called on each record, returnsfalseif the record is to be excluded from the input before rendering ortrueotherwisevoidsetHiddenFromAggregations(List<String> hiddenFromAggregations) Sets the list of properties names to omit from the aggregation arguments dropdowns.voidsetHiddenFromDragDrop(List<String> hiddenFromDragDrop) Sets the list of properties names to omit from the drag'n'drop portion of the UI.voidsetHiddenProperties(List<String> hiddenProperties) Sets the list of properties names to omit from the UI.voidsetInclusions(String property, List<String> inclusions) Sets the value of inclusions map.voidsetInclusions(Map<String, List<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 (overridesexclusions).voidsetMenuLimit(Integer menuLimit) Sets maximum number of values to list in the double-click menu.voidsetMessages(Messages messages) voidsetMessageTools(MessageTools messageTools) voidsetNativeJson(String json) Set additional JSON configuration as a string.voidvoidsetProperties(Map<String, String> properties) Sets the map whose keys areDataItemproperty names to use as pivot table data and values they localized names.voidsetRenderer(Renderer renderer) Sets the renderer object.voidsetRendererOptions(RendererOptions rendererOptions) Sets object passed through to renderer as options.voidsetRenderers(Renderers renderers) Sets the renderers object which defines the collection of renderers to use in pivot table and additional settings for them.voidsetRowOrder(RowOrder rowOrder) Sets the order in which row data is provided to the renderer.voidSets the list of properties names to use as rows.voidsetShowColTotals(Boolean showColTotals) Setfalseif col totals shouldn't be shown andtrueotherwise.voidsetShowRowTotals(Boolean showRowTotals) Setfalseif row totals shouldn't be shown andtrueotherwise.voidHides or shows UI elements in the editable pivot table.voidsetSortersFunction(JsFunction sorters) Sets theJsFunctionwhich defines a javascript code called with an property name and can return a function which can be used as an argument toArray.sortfor output purposes.voidsetUnusedPropertiesVertical(UnusedPropertiesVertical unusedPropertiesVertical) Controls whether or not unused properties are shown vertically instead of the default which is horizontally.Methods inherited from class io.jmix.ui.component.impl.AbstractComponent
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, withUnwrappedCompositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.component.Component
addStyleName, 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, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.Editable
isEditableWithParentMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescription
-
Field Details
-
refreshHandler
-
cellClickHandler
-
messages
-
messageTools
-
currentAuthentication
-
pivotTableLocaleHelper
-
-
Constructor Details
-
PivotTableImpl
public PivotTableImpl()
-
-
Method Details
-
createComponent
-
createPivotTableSerializer
-
setMessages
-
setCurrentAuthentication
-
setMessageTools
-
setPivotTableLocaleHelper
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
initLocale
protected void initLocale() -
repaint
public void repaint()Description copied from interface:PivotTableResend all items and properties to client and repaint pivot table. Use this method if you change some property of already displayed pivot table.- Specified by:
repaintin interfacePivotTable
-
isEditable
public boolean isEditable()- Specified by:
isEditablein interfaceComponent.Editable
-
setEditable
public void setEditable(boolean editable) - Specified by:
setEditablein interfaceComponent.Editable
-
getProperties
- Specified by:
getPropertiesin interfacePivotTable- Returns:
- the map whose keys are
DataItemproperty names to use as pivot table data and values they localized names
-
setProperties
Description copied from interface:PivotTableSets the map whose keys areDataItemproperty names to use as pivot table data and values they localized names.- Specified by:
setPropertiesin interfacePivotTable- Parameters:
properties- a map of properties names with localized values
-
addProperties
Description copied from interface:PivotTableAdds a map whose keys areDataItemproperty names to use as pivot table data and values they localized names.- Specified by:
addPropertiesin interfacePivotTable- Parameters:
properties- a map of properties names with localized values
-
addProperty
Description copied from interface:PivotTableAdd a property eith its localized value- Specified by:
addPropertyin interfacePivotTable- Parameters:
property- property namevalue- localized value
-
getRows
- Specified by:
getRowsin interfacePivotTable- Returns:
- the list of properties names to use as rows.
-
setRows
Description copied from interface:PivotTableSets the list of properties names to use as rows.- Specified by:
setRowsin interfacePivotTable- Parameters:
rows- a list of properties names
-
addRows
Description copied from interface:PivotTableAdds an array of properties names to use as rows.- Specified by:
addRowsin interfacePivotTable- Parameters:
rows- an array of properties names
-
getColumns
- Specified by:
getColumnsin interfacePivotTable- Returns:
- the list of property names to use as columns.
-
setColumns
Description copied from interface:PivotTableSets the list of property names to use as columns.- Specified by:
setColumnsin interfacePivotTable- Parameters:
cols- a list of properties names
-
addColumns
Description copied from interface:PivotTableAdds an array of property names to use as columns.- Specified by:
addColumnsin interfacePivotTable- Parameters:
cols- an array of properties names
-
getAggregation
- Specified by:
getAggregationin interfacePivotTable- Returns:
- the aggregation object which defines how pivot table will aggregate results per cell
-
setAggregation
Description copied from interface:PivotTableSets the aggregation object.Applies only when
editable=false.- Specified by:
setAggregationin interfacePivotTable- Parameters:
aggregation- an aggregation object
-
getRenderer
- Specified by:
getRendererin interfacePivotTable- Returns:
- the renderer object which generates output from pivot data structure
-
setRenderer
Description copied from interface:PivotTableSets the renderer object.Applies only when
editable=false.- Specified by:
setRendererin interfacePivotTable- Parameters:
renderer- a renderer object
-
getAggregationProperties
- Specified by:
getAggregationPropertiesin interfacePivotTable- Returns:
- the list of properties names to prepopulate in vals area (gets passed to aggregator generating function)
-
setAggregationProperties
Description copied from interface:PivotTableSets the list of properties names to prepopulate in vals area (gets passed to aggregator generating function).Applies only when
editable=true.- Specified by:
setAggregationPropertiesin interfacePivotTable- Parameters:
aggregationProperties- a list of properties names
-
addAggregationProperties
Description copied from interface:PivotTableAdds an array of properties names to prepopulate in vals area (gets passed to aggregator generating function).Applies only when
editable=true.- Specified by:
addAggregationPropertiesin interfacePivotTable- Parameters:
aggregationProperties- an array of properties names
-
getAggregations
- Specified by:
getAggregationsin interfacePivotTable- Returns:
- the aggregations object which defines the collection of aggregations to use in pivot table and additional settings for them.
-
setAggregations
Description copied from interface:PivotTableSets the aggregations object which defines the collection of aggregations to use in pivot table and additional settings for them.Applies only when
editable=true.- Specified by:
setAggregationsin interfacePivotTable- Parameters:
aggregations- an aggregations object
-
getRenderers
- Specified by:
getRenderersin interfacePivotTable- Returns:
- the renderers object which defines the collection of renderers to use in pivot table and additional settings for them.
-
setRenderers
Description copied from interface:PivotTableSets the renderers object which defines the collection of renderers to use in pivot table and additional settings for them.Applies only when
editable=true.- Specified by:
setRenderersin interfacePivotTable- Parameters:
renderers- a renderers object
-
getHiddenProperties
- Specified by:
getHiddenPropertiesin interfacePivotTable- Returns:
- the list of properties names to omit from the UI
-
setHiddenProperties
Description copied from interface:PivotTableSets the list of properties names to omit from the UI.Applies only when
editable=true.- Specified by:
setHiddenPropertiesin interfacePivotTable- Parameters:
hiddenProperties- a list of properties names
-
addHiddenProperties
Description copied from interface:PivotTableAdds an array of properties names to omit from the UI.Applies only when
editable=true.- Specified by:
addHiddenPropertiesin interfacePivotTable- Parameters:
hiddenProperties- an array of properties names
-
getHiddenFromAggregations
- Specified by:
getHiddenFromAggregationsin interfacePivotTable- Returns:
- list of properties names to omit from the aggregation arguments dropdowns
-
setHiddenFromAggregations
Description copied from interface:PivotTableSets the list of properties names to omit from the aggregation arguments dropdowns.Applies only when
editable=true.- Specified by:
setHiddenFromAggregationsin interfacePivotTable- Parameters:
hiddenFromAggregations- a list of properties names
-
addHiddenFromAggregations
Description copied from interface:PivotTableAdds an array of properties names to omit from the aggregation arguments dropdowns.Applies only when
editable=true.- Specified by:
addHiddenFromAggregationsin interfacePivotTable- Parameters:
hiddenFromAggregations- an array of properties names
-
getHiddenFromDragDrop
- Specified by:
getHiddenFromDragDropin interfacePivotTable- Returns:
- list of properties names to omit from the drag'n'drop portion of the UI
-
setHiddenFromDragDrop
Description copied from interface:PivotTableSets the list of properties names to omit from the drag'n'drop portion of the UI.Applies only when
editable=true.- Specified by:
setHiddenFromDragDropin interfacePivotTable- Parameters:
hiddenFromDragDrop- a list of properties names
-
addHiddenFromDragDrop
Description copied from interface:PivotTableAdds an array of properties names to omit from the drag'n'drop portion of the UI.Applies only when
editable=true.- Specified by:
addHiddenFromDragDropin interfacePivotTable- Parameters:
hiddenFromDragDrop- an array of properties names
-
getColumnOrder
- Specified by:
getColumnOrderin interfacePivotTable- Returns:
- the order in which column data is provided to the renderer
-
setColumnOrder
Description copied from interface:PivotTableSet the order in which column data is provided to the renderer.Ordering by value orders by column total.
- Specified by:
setColumnOrderin interfacePivotTable- Parameters:
columnOrder- the order in which column data is provided to the renderer
-
getRowOrder
- Specified by:
getRowOrderin interfacePivotTable- Returns:
- the order in which row data is provided to the renderer
-
setRowOrder
Description copied from interface:PivotTableSets the order in which row data is provided to the renderer.Ordering by value orders by row total.
- Specified by:
setRowOrderin interfacePivotTable- Parameters:
rowOrder- the order in which row data is provided to the renderer
-
getMenuLimit
- Specified by:
getMenuLimitin interfacePivotTable- Returns:
- maximum number of values to list in the double-click menu
-
setMenuLimit
Description copied from interface:PivotTableSets maximum number of values to list in the double-click menu.Applies only when
editable=true.- Specified by:
setMenuLimitin interfacePivotTable- Parameters:
menuLimit- maximum number of values to list in the double-click menu
-
getAutoSortUnusedProperties
- Specified by:
getAutoSortUnusedPropertiesin interfacePivotTable- Returns:
trueif unused properties are kept sorted in the UI andfalseotherwise
-
setAutoSortUnusedProperties
Description copied from interface:PivotTableControls whether or not unused properties are kept sorted in the UI.Applies only when
editable=true.- Specified by:
setAutoSortUnusedPropertiesin interfacePivotTable- Parameters:
autoSortUnusedProperties-trueif unused properties are kept sorted in the UI andfalseotherwise
-
getUnusedPropertiesVertical
- Specified by:
getUnusedPropertiesVerticalin interfacePivotTable- Returns:
trueif unused attributes are shown always vertical,falseif 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.
-
setUnusedPropertiesVertical
Description copied from interface:PivotTableControls whether or not unused properties are shown vertically instead of the default which is horizontally.truemeans always vertical,falsemeans 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.- Specified by:
setUnusedPropertiesVerticalin interfacePivotTable- Parameters:
unusedPropertiesVertical- properties
-
getDataProvider
- Specified by:
getDataProviderin interfacePivotTable- Returns:
- data provider for PivotTable. Contains items which will be shown on PivotTable.
-
setDataProvider
Description copied from interface:PivotTableSets data provider for PivotTable. Contains items which will be shown on PivotTable.- Specified by:
setDataProviderin interfacePivotTable- Parameters:
dataProvider- a data provider
-
addData
Description copied from interface:PivotTableAdds a data item to data provider.- Specified by:
addDatain interfacePivotTable- Parameters:
dataItems- a data item to add
-
getFilterFunction
- Specified by:
getFilterFunctionin interfacePivotTable- Returns:
- the
JsFunctionwhich defines a javascript code called on each record, returnsfalseif the record is to be excluded from the input before rendering ortrueotherwise
-
setFilterFunction
Description copied from interface:PivotTableSets theJsFunctionwhich defines a javascript code called on each record, returnsfalseif the record is to be excluded from the input before rendering ortrueotherwise- Specified by:
setFilterFunctionin interfacePivotTable- Parameters:
filter- aJsFunctionto use as a filter
-
getSortersFunction
- Specified by:
getSortersFunctionin interfacePivotTable- Returns:
- the
JsFunctionwhich defines a javascript code called with an property name and can return a function which can be used as an argument toArray.sortfor output purposes. If no function is returned, the default sorting mechanism is a built-in "natural sort" implementation. Useful for sorting attributes like month names
-
setSortersFunction
Description copied from interface:PivotTableSets theJsFunctionwhich defines a javascript code called with an property name and can return a function which can be used as an argument toArray.sortfor output purposes. If no function is returned, the default sorting mechanism is a built-in "natural sort" implementation. Useful for sorting attributes like month names- Specified by:
setSortersFunctionin interfacePivotTable- Parameters:
sorters- aJsFunctionto use as a sorters
-
getRendererOptions
- Specified by:
getRendererOptionsin interfacePivotTable- Returns:
- the object passed through to renderer as options
-
setRendererOptions
Description copied from interface:PivotTableSets object passed through to renderer as options.- Specified by:
setRendererOptionsin interfacePivotTable- Parameters:
rendererOptions- object defines renderer options
-
getInclusions
- Specified by:
getInclusionsin interfacePivotTable- Returns:
- 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
-
setInclusions
Description copied from interface:PivotTableSets 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 (overridesexclusions).Applies only when
editable=true.- Specified by:
setInclusionsin interfacePivotTable- Parameters:
inclusions- map with properties and values included in rendering- See Also:
-
setInclusions
Description copied from interface:PivotTableSets the value of inclusions map.- Specified by:
setInclusionsin interfacePivotTable- Parameters:
property- property nameinclusions- a list of properties values- See Also:
-
addInclusions
Description copied from interface:PivotTableAdds a values to given key of inclusions map.- Specified by:
addInclusionsin interfacePivotTable- Parameters:
property- a property nameinclusions- an array of properties values- See Also:
-
getExclusions
- Specified by:
getExclusionsin interfacePivotTable- Returns:
- 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
-
setExclusions
Description copied from interface:PivotTableSets 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.Applies only when
editable=true.- Specified by:
setExclusionsin interfacePivotTable- Parameters:
exclusions- map with properties and values excluded from rendering- See Also:
-
setExclusions
Description copied from interface:PivotTableSets the value of exclusions map.- Specified by:
setExclusionsin interfacePivotTable- Parameters:
property- property nameexclusions- a list of properties values- See Also:
-
addExclusions
Description copied from interface:PivotTableAdds a values to given key of exclusions map.- Specified by:
addExclusionsin interfacePivotTable- Parameters:
property- a property nameexclusions- an array of properties values- See Also:
-
getDerivedProperties
- Specified by:
getDerivedPropertiesin interfacePivotTable- Returns:
- object to define derived properties
-
setDerivedProperties
Description copied from interface:PivotTableSets object to define derived properties.- Specified by:
setDerivedPropertiesin interfacePivotTable- Parameters:
derivedProperties- object to define derived properties
-
getNativeJson
- Specified by:
getNativeJsonin interfacePivotTable- Returns:
- additional JSON configuration as a string.
-
setNativeJson
Description copied from interface:PivotTableSet additional JSON configuration as a string. This JSON can override configuration loaded from XML and from Component API.- Specified by:
setNativeJsonin interfacePivotTable- Parameters:
json- additional JSON configuration
-
getEmptyDataMessage
- Specified by:
getEmptyDataMessagein interfacePivotTable- Returns:
- the message that will be displayed in case of empty data
-
setEmptyDataMessage
Description copied from interface:PivotTableSets the message that will be displayed in case of empty data.- Specified by:
setEmptyDataMessagein interfacePivotTable- Parameters:
emptyDataMessage- the message that will be displayed in case of empty data
-
addRefreshListener
Description copied from interface:PivotTableAdds a listener to the pivot table refresh events. Fired only for editable PivotTable.- Specified by:
addRefreshListenerin interfacePivotTable- Parameters:
refreshListener- a listener to add- Returns:
- subscription
-
onRefresh
-
addCellClickListener
Description copied from interface:PivotTableAdds a listener to the pivot table cell click events. Fired only for table renderers (table, heatmap, table barchart, col heatmap, row heatmap).- Specified by:
addCellClickListenerin interfacePivotTable- Parameters:
listener- a listener to add- Returns:
- subscription
-
onCellClick
-
setShowUI
Description copied from interface:PivotTableHides or shows UI elements in the editable pivot table.trueby default.
Applies only wheneditable=true.- Specified by:
setShowUIin interfacePivotTable- Parameters:
showUI-trueif UI elements should be shown andfalseotherwise
-
isShowUI
- Specified by:
isShowUIin interfacePivotTable- Returns:
trueifpivotUI()should be shown andfalseotherwise
-
setShowRowTotals
Description copied from interface:PivotTableSetfalseif row totals shouldn't be shown andtrueotherwise. Works only for table renderers.trueby default.- Specified by:
setShowRowTotalsin interfacePivotTable- Parameters:
showRowTotals-falseif row totals shouldn't be shown andtrueotherwise
-
isRowTotalsShown
- Specified by:
isRowTotalsShownin interfacePivotTable- Returns:
falseif row totals shouldn't be shown andtrueotherwise
-
setShowColTotals
Description copied from interface:PivotTableSetfalseif col totals shouldn't be shown andtrueotherwise. Works only for table renderers.trueby default.- Specified by:
setShowColTotalsin interfacePivotTable- Parameters:
showColTotals-falseif col totals shouldn't be shown andtrueotherwise
-
isColTotalsShown
- Specified by:
isColTotalsShownin interfacePivotTable- Returns:
falseif col totals shouldn't be shown andtrueotherwise
-