class sap.ui.model.analytics.AnalyticalTreeBindingAdapter

Visiblity: protected
UX Guidelines:
Implements:
Available since: N/A
Extends:
Module: sap/ui/model/analytics/AnalyticalTreeBindingAdapter
Application Component: CA-UI5-COR

Constructor

Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based controls.

new sap.ui.model.analytics.AnalyticalTreeBindingAdapter()

Methods Overview

Method Description
getNumberOfExpandedLevels

Retrieves the currently set number of expanded levels from the Binding (commonly an AnalyticalBinding).

hasTotaledMeasures

Checks if the AnalyticalBinding has totaled measures available. Used for rendering sum rows.

setNumberOfExpandedLevels

Sets the number of expanded levels on the TreeBinding (commonly an AnalyticalBinding). This is NOT the same as AnalyticalTreeBindingAdapter#collapse or AnalyticalTreeBindingAdapter#expand. Setting the number of expanded levels leads to different requests. This function is used by the AnalyticalTable for the ungroup/ungroup-all feature.

getNumberOfExpandedLevels

Retrieves the currently set number of expanded levels from the Binding (commonly an AnalyticalBinding).

hasTotaledMeasures

Checks if the AnalyticalBinding has totaled measures available. Used for rendering sum rows.

setNumberOfExpandedLevels

Sets the number of expanded levels on the TreeBinding (commonly an AnalyticalBinding). This is NOT the same as AnalyticalTreeBindingAdapter#collapse or AnalyticalTreeBindingAdapter#expand. Setting the number of expanded levels leads to different requests. This function is used by the AnalyticalTable for the ungroup/ungroup-all feature.

Param Type DefaultValue Description
iLevels int

the number of levels which should be expanded, minimum is 0