Class sap.ui.model.analytics.AnalyticalTreeBindingAdapterModule: sap/ui/model/analytics/AnalyticalTreeBindingAdapter
Experimental API:This module is only for experimental use!
Constructor Summary
new sap.ui.model.analytics.AnalyticalTreeBindingAdapter()Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based controls.
Method Summary
getNumberOfExpandedLevels()Retrieves the currently set number of expanded levels from the Binding (commonly an AnalyticalBinding).
setNumberOfExpandedLevels(iLevels)Sets the number of expanded levels on the TreeBinding (commonly an AnalyticalBinding).
Constructor Detail
Method Detail
getNumberOfExpandedLevels(): int
Retrieves the currently set number of expanded levels from the Binding (commonly an AnalyticalBinding).
Returns:
{int} | the number of expanded levels |
hasTotaledMeasures(): boolean
Checks if the AnalyticalBinding has totaled measures available. Used for rendering sum rows.
Returns:
{boolean} | wether the binding has totaled measures or not |
setNumberOfExpandedLevels(iLevels)
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.
Parameters:
{int} | iLevels | the number of levels which should be expanded, minimum is 0 |