Class sap.ui.commons.RowRepeaterModule: sap/ui/commons/RowRepeater

extends Control
known direct subclasses: ViewRepeater

This control displays items in a stacked list format, allowing the user to page in order to see more items or to use the offered filtering and sorting capabilities in order to manipulate the displayed data.

Deprecated API:Since version 1.38. Instead, use the sap.ui.table.Table control.

Constructor Summary
new sap.ui.commons.RowRepeater(sId?, mSettings?)Constructor for a new RowRepeater.
Event Summary
filter(oControlEvent)This event is triggered when a filter is set.
page(oControlEvent)This event is triggered when paging was executed.
resize(oControlEvent)This event is triggered when the number of rows was changed.
sort(oControlEvent)This event is triggered when a sorting is applied.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ui.commons.RowRepeater.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.commons.RowRepeater with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.commons.RowRepeater.getMetadata()Returns a metadata object for class sap.ui.commons.RowRepeater.
addFilter(oFilter)Adds some filter to the aggregation filters.
addRow(oRow)Adds some row to the aggregation rows.
addSorter(oSorter)Adds some sorter to the aggregation sorters.
applyFilter(sId)Applies a filter.
attachFilter(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the filter event of this sap.ui.commons.RowRepeater.
attachPage(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the page event of this sap.ui.commons.RowRepeater.
attachResize(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the resize event of this sap.ui.commons.RowRepeater.
attachSort(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the sort event of this sap.ui.commons.RowRepeater.
bindRows(oBindingInfo)Binds aggregation rows to model data.
destroyFilters()Destroys all the filters in the aggregation filters.
destroyNoData()Destroys the noData in the aggregation noData.
destroyRows()Destroys all the rows in the aggregation rows.
destroySorters()Destroys all the sorters in the aggregation sorters.
destroyTitle()Destroys the title in the aggregation title.
detachFilter(fnFunction, oListener)Detaches event handler fnFunction from the filter event of this sap.ui.commons.RowRepeater.
detachPage(fnFunction, oListener)Detaches event handler fnFunction from the page event of this sap.ui.commons.RowRepeater.
detachResize(fnFunction, oListener)Detaches event handler fnFunction from the resize event of this sap.ui.commons.RowRepeater.
detachSort(fnFunction, oListener)Detaches event handler fnFunction from the sort event of this sap.ui.commons.RowRepeater.
fireFilter(mArguments?)Fires event filter to attached listeners.
firePage(mArguments?)Fires event page to attached listeners.
fireResize(mArguments?)Fires event resize to attached listeners.
fireSort(mArguments?)Fires event sort to attached listeners.
firstPage()Switch to first page.
getCurrentPage()Gets current value of property currentPage.
getDesign()Gets current value of property design.
getFilters()Gets content of aggregation filters.
getFixedRowHeight()Gets current value of property fixedRowHeight.
getNoData()Gets content of aggregation noData.
getNumberOfRows()Gets current value of property numberOfRows.
getRows()Gets content of aggregation rows.
getShowMoreSteps()Gets current value of property showMoreSteps.
getSorters()Gets content of aggregation sorters.
getThreshold()Gets current value of property threshold.
getTitle()Gets content of aggregation title.
gotoPage(iPageNumber)Switch to specified page.
indexOfFilter(oFilter)Checks for the provided sap.ui.commons.RowRepeaterFilter in the aggregation filters.
indexOfRow(oRow)Checks for the provided sap.ui.core.Control in the aggregation rows.
indexOfSorter(oSorter)Checks for the provided sap.ui.commons.RowRepeaterSorter in the aggregation sorters.
insertFilter(oFilter, iIndex)Inserts a filter into the aggregation filters.
insertRow(oRow, iIndex)Inserts a row into the aggregation rows.
insertSorter(oSorter, iIndex)Inserts a sorter into the aggregation sorters.
lastPage()Switch to last page.
nextPage()Switch to next page.
previousPage()Switch to previous page.
removeAllFilters()Removes all the controls from the aggregation filters.
removeAllRows()Removes all the controls from the aggregation rows.
removeAllSorters()Removes all the controls from the aggregation sorters.
removeFilter(vFilter)Removes a filter from the aggregation filters.
removeRow(vRow)Removes a row from the aggregation rows.
removeSorter(vSorter)Removes a sorter from the aggregation sorters.
resize(iNumberOfRows)Resizes the row repeater by changing the number of displayed rows.
setCurrentPage(iCurrentPage)Setter for property currentPage.
setDesign(sDesign)Sets a new value for property design.
setFixedRowHeight(sFixedRowHeight)Sets a new value for property fixedRowHeight.
setNoData(oNoData)Sets the aggregated noData.
setNumberOfRows(iNumberOfRows)Setter for property numberOfRows.
setShowMoreSteps(iShowMoreSteps)Override the default behavior of setShowMoreSteps to update the paging mode flag.
setThreshold(iThreshold)Sets a new value for property threshold.
setTitle(oTitle)Sets the aggregated title.
triggerShowMore()The triggerShowMore function increments the number of rows by the value of showMoreSteps.
triggerSort(sId)Sort the data.
unbindRows()Unbinds aggregation rows from model data.
Constructor Detail
new sap.ui.commons.RowRepeater(sId?, mSettings?)
Constructor for a new RowRepeater.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

  • Properties
  • Aggregations
    • rows : sap.ui.core.Control[] (default)
    • title : sap.ui.core.Title
    • filters : sap.ui.commons.RowRepeaterFilter[]
    • sorters : sap.ui.commons.RowRepeaterSorter[]
    • noData : sap.ui.core.Control
  • Events
    • filter : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
    • sort : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
    • page : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
    • resize : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]

In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Deprecated:
Since version 1.38. Instead, use the sap.ui.table.Table control.
Event Detail
filter(oControlEvent)
This event is triggered when a filter is set.
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
{string}oControlEvent.getParameters.filterId The ID of the filter that has just been applied.
page(oControlEvent)
This event is triggered when paging was executed.
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
{int}oControlEvent.getParameters.currentPage The value of the currentPage property after the change.
{int}oControlEvent.getParameters.previousPage The value of the currentPage property before the change.
resize(oControlEvent)
This event is triggered when the number of rows was changed.
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
{int}oControlEvent.getParameters.numberOfRows The value of the numberOfRows property after the change.
{int}oControlEvent.getParameters.previousNumberOfRows The value of the numberOfRows property before the change.
sort(oControlEvent)
This event is triggered when a sorting is applied.
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
{string}oControlEvent.getParameters.sorterId The ID of the sorter that has just been applied.
Method Detail
sap.ui.commons.RowRepeater.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.commons.RowRepeater with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.core.Control.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.commons.RowRepeater.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.commons.RowRepeater.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
addFilter(oFilter): sap.ui.commons.RowRepeater
Adds some filter to the aggregation filters.
Parameters:
{sap.ui.commons.RowRepeaterFilter}oFilter the filter to add; if empty, nothing is inserted
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
Adds some row to the aggregation rows.
Parameters:
{sap.ui.core.Control}oRow the row to add; if empty, nothing is inserted
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
addSorter(oSorter): sap.ui.commons.RowRepeater
Adds some sorter to the aggregation sorters.
Parameters:
{sap.ui.commons.RowRepeaterSorter}oSorter the sorter to add; if empty, nothing is inserted
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
applyFilter(sId): void
Applies a filter.
Parameters:
{string}sId The ID if the filter.
attachFilter(oData?, fnFunction, oListener?): sap.ui.commons.RowRepeater
Attaches event handler fnFunction to the filter event of this sap.ui.commons.RowRepeater.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.commons.RowRepeater itself.

This event is triggered when a filter is set.

Parameters:
{object}oData? An application-specific payload object that will be passed to the event handler along with the event object when firing the event
{function}fnFunction The function to be called when the event occurs
{object}oListener? Context object to call the event handler with. Defaults to this sap.ui.commons.RowRepeater itself
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
attachPage(oData?, fnFunction, oListener?): sap.ui.commons.RowRepeater
Attaches event handler fnFunction to the page event of this sap.ui.commons.RowRepeater.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.commons.RowRepeater itself.

This event is triggered when paging was executed.

Parameters:
{object}oData? An application-specific payload object that will be passed to the event handler along with the event object when firing the event
{function}fnFunction The function to be called when the event occurs
{object}oListener? Context object to call the event handler with. Defaults to this sap.ui.commons.RowRepeater itself
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
attachResize(oData?, fnFunction, oListener?): sap.ui.commons.RowRepeater
Attaches event handler fnFunction to the resize event of this sap.ui.commons.RowRepeater.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.commons.RowRepeater itself.

This event is triggered when the number of rows was changed.

Parameters:
{object}oData? An application-specific payload object that will be passed to the event handler along with the event object when firing the event
{function}fnFunction The function to be called when the event occurs
{object}oListener? Context object to call the event handler with. Defaults to this sap.ui.commons.RowRepeater itself
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
attachSort(oData?, fnFunction, oListener?): sap.ui.commons.RowRepeater
Attaches event handler fnFunction to the sort event of this sap.ui.commons.RowRepeater.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.commons.RowRepeater itself.

This event is triggered when a sorting is applied.

Parameters:
{object}oData? An application-specific payload object that will be passed to the event handler along with the event object when firing the event
{function}fnFunction The function to be called when the event occurs
{object}oListener? Context object to call the event handler with. Defaults to this sap.ui.commons.RowRepeater itself
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
bindRows(oBindingInfo): sap.ui.commons.RowRepeater
Binds aggregation rows to model data.

See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo.

Parameters:
{object}oBindingInfo The binding information
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
destroyFilters(): sap.ui.commons.RowRepeater
Destroys all the filters in the aggregation filters.
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
destroyNoData(): sap.ui.commons.RowRepeater
Destroys the noData in the aggregation noData.
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
Destroys all the rows in the aggregation rows.
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
destroySorters(): sap.ui.commons.RowRepeater
Destroys all the sorters in the aggregation sorters.
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
Destroys the title in the aggregation title.
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
detachFilter(fnFunction, oListener): sap.ui.commons.RowRepeater
Detaches event handler fnFunction from the filter event of this sap.ui.commons.RowRepeater.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to be called, when the event occurs
{object}oListener Context object on which the given function had to be called
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
detachPage(fnFunction, oListener): sap.ui.commons.RowRepeater
Detaches event handler fnFunction from the page event of this sap.ui.commons.RowRepeater.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to be called, when the event occurs
{object}oListener Context object on which the given function had to be called
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
detachResize(fnFunction, oListener): sap.ui.commons.RowRepeater
Detaches event handler fnFunction from the resize event of this sap.ui.commons.RowRepeater.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to be called, when the event occurs
{object}oListener Context object on which the given function had to be called
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
detachSort(fnFunction, oListener): sap.ui.commons.RowRepeater
Detaches event handler fnFunction from the sort event of this sap.ui.commons.RowRepeater.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to be called, when the event occurs
{object}oListener Context object on which the given function had to be called
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
fireFilter(mArguments?): sap.ui.commons.RowRepeater
Fires event filter to attached listeners.

Expects the following event parameters:

  • filterId of type stringThe ID of the filter that has just been applied.
Parameters:
{Map}mArguments? The arguments to pass along with the event
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
firePage(mArguments?): sap.ui.commons.RowRepeater
Fires event page to attached listeners.

Expects the following event parameters:

  • currentPage of type intThe value of the currentPage property after the change.
  • previousPage of type intThe value of the currentPage property before the change.
Parameters:
{Map}mArguments? The arguments to pass along with the event
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
fireResize(mArguments?): sap.ui.commons.RowRepeater
Fires event resize to attached listeners.

Expects the following event parameters:

  • numberOfRows of type intThe value of the numberOfRows property after the change.
  • previousNumberOfRows of type intThe value of the numberOfRows property before the change.
Parameters:
{Map}mArguments? The arguments to pass along with the event
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
fireSort(mArguments?): sap.ui.commons.RowRepeater
Fires event sort to attached listeners.

Expects the following event parameters:

  • sorterId of type stringThe ID of the sorter that has just been applied.
Parameters:
{Map}mArguments? The arguments to pass along with the event
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
firstPage(): void
Switch to first page.
getCurrentPage(): int
Gets current value of property currentPage.

The index of the page currently displayed. The index starts at 1.

Default value is 1.

Returns:
{int} Value of property currentPage
Gets current value of property design.

The visual design of the control.

Default value is Standard.

Returns:
{sap.ui.commons.RowRepeaterDesign} Value of property design
Gets content of aggregation filters.

Filters to be provided in toolbar.

Returns:
{sap.ui.commons.RowRepeaterFilter[]}
getFixedRowHeight(): sap.ui.core.CSSSize
Gets current value of property fixedRowHeight.

Row height adapts to rendered content. If a fixed height is specified the cells have a maximum height and the overflow will be hidden.

Default value is .

Returns:
{sap.ui.core.CSSSize} Value of property fixedRowHeight
getNoData(): sap.ui.core.Control
Gets content of aggregation noData.

This control is shown, in case there is no data available to be displayed in the RowRepeater.

Returns:
{sap.ui.core.Control}
getNumberOfRows(): int
Gets current value of property numberOfRows.

Number of rows displayed.

Default value is 5.

Returns:
{int} Value of property numberOfRows
getRows(): sap.ui.core.Control[]
Gets content of aggregation rows.

Rows to be repeated.

Returns:
{sap.ui.core.Control[]}
getShowMoreSteps(): int
Gets current value of property showMoreSteps.

Step size used to increase the numberOfRows value. This feature is only active if value is greater than 0. This will deactivate the paging feature.

Default value is 0.

Returns:
{int} Value of property showMoreSteps
Gets content of aggregation sorters.

Sorters to be provided in secondary toolbar.

Returns:
{sap.ui.commons.RowRepeaterSorter[]}
getThreshold(): int
Gets current value of property threshold.

Threshold to fetch the next chunk of data. The minimal threshold can be the numberOfRows of the RR.

Returns:
{int} Value of property threshold
getTitle(): sap.ui.core.Title
Gets content of aggregation title.

Title to be displayed in top left corner. Either text or icon.

Returns:
{sap.ui.core.Title}
gotoPage(iPageNumber): void
Switch to specified page.
Parameters:
{int}iPageNumber The index of the page to go to.
indexOfFilter(oFilter): int
Checks for the provided sap.ui.commons.RowRepeaterFilter in the aggregation filters. and returns its index if found or -1 otherwise.
Parameters:
{sap.ui.commons.RowRepeaterFilter}oFilter The filter whose index is looked for
Returns:
{int} The index of the provided control in the aggregation if found, or -1 otherwise
indexOfRow(oRow): int
Checks for the provided sap.ui.core.Control in the aggregation rows. and returns its index if found or -1 otherwise.
Parameters:
{sap.ui.core.Control}oRow The row whose index is looked for
Returns:
{int} The index of the provided control in the aggregation if found, or -1 otherwise
indexOfSorter(oSorter): int
Checks for the provided sap.ui.commons.RowRepeaterSorter in the aggregation sorters. and returns its index if found or -1 otherwise.
Parameters:
{sap.ui.commons.RowRepeaterSorter}oSorter The sorter whose index is looked for
Returns:
{int} The index of the provided control in the aggregation if found, or -1 otherwise
insertFilter(oFilter, iIndex): sap.ui.commons.RowRepeater
Inserts a filter into the aggregation filters.
Parameters:
{sap.ui.commons.RowRepeaterFilter}oFilter the filter to insert; if empty, nothing is inserted
{int}iIndex the 0-based index the filter should be inserted at; for a negative value of iIndex, the filter is inserted at position 0; for a value greater than the current size of the aggregation, the filter is inserted at the last position
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
insertRow(oRow, iIndex): sap.ui.commons.RowRepeater
Inserts a row into the aggregation rows.
Parameters:
{sap.ui.core.Control}oRow the row to insert; if empty, nothing is inserted
{int}iIndex the 0-based index the row should be inserted at; for a negative value of iIndex, the row is inserted at position 0; for a value greater than the current size of the aggregation, the row is inserted at the last position
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
insertSorter(oSorter, iIndex): sap.ui.commons.RowRepeater
Inserts a sorter into the aggregation sorters.
Parameters:
{sap.ui.commons.RowRepeaterSorter}oSorter the sorter to insert; if empty, nothing is inserted
{int}iIndex the 0-based index the sorter should be inserted at; for a negative value of iIndex, the sorter is inserted at position 0; for a value greater than the current size of the aggregation, the sorter is inserted at the last position
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
lastPage(): void
Switch to last page.
nextPage(): void
Switch to next page.
previousPage(): void
Switch to previous page.
removeAllFilters(): sap.ui.commons.RowRepeaterFilter[]
Removes all the controls from the aggregation filters.

Additionally, it unregisters them from the hosting UIArea.

Returns:
{sap.ui.commons.RowRepeaterFilter[]} An array of the removed elements (might be empty)
removeAllRows(): sap.ui.core.Control[]
Removes all the controls from the aggregation rows.

Additionally, it unregisters them from the hosting UIArea.

Returns:
{sap.ui.core.Control[]} An array of the removed elements (might be empty)
removeAllSorters(): sap.ui.commons.RowRepeaterSorter[]
Removes all the controls from the aggregation sorters.

Additionally, it unregisters them from the hosting UIArea.

Returns:
{sap.ui.commons.RowRepeaterSorter[]} An array of the removed elements (might be empty)
removeFilter(vFilter): sap.ui.commons.RowRepeaterFilter
Removes a filter from the aggregation filters.
Parameters:
{int|string|sap.ui.commons.RowRepeaterFilter}vFilter The filterto remove or its index or id
Returns:
{sap.ui.commons.RowRepeaterFilter} The removed filter or null
removeRow(vRow): sap.ui.core.Control
Removes a row from the aggregation rows.
Parameters:
{int|string|sap.ui.core.Control}vRow The rowto remove or its index or id
Returns:
{sap.ui.core.Control} The removed row or null
removeSorter(vSorter): sap.ui.commons.RowRepeaterSorter
Removes a sorter from the aggregation sorters.
Parameters:
{int|string|sap.ui.commons.RowRepeaterSorter}vSorter The sorterto remove or its index or id
Returns:
{sap.ui.commons.RowRepeaterSorter} The removed sorter or null
resize(iNumberOfRows): void
Resizes the row repeater by changing the number of displayed rows. This method will only resize the RowRepeater if the property showMoreSteps is set.
Parameters:
{int}iNumberOfRows The new value of number of rows displayed.
setCurrentPage(iCurrentPage): sap.ui.commons.RowRepeater
Setter for property currentPage.
Parameters:
{int}iCurrentPage new value for property currentPage
Returns:
{sap.ui.commons.RowRepeater}this to allow method chaining
setDesign(sDesign): sap.ui.commons.RowRepeater
Sets a new value for property design.

The visual design of the control.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is Standard.

Parameters:
{sap.ui.commons.RowRepeaterDesign}sDesign New value for property design
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
setFixedRowHeight(sFixedRowHeight): sap.ui.commons.RowRepeater
Sets a new value for property fixedRowHeight.

Row height adapts to rendered content. If a fixed height is specified the cells have a maximum height and the overflow will be hidden.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is .

Parameters:
{sap.ui.core.CSSSize}sFixedRowHeight New value for property fixedRowHeight
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
setNoData(oNoData): sap.ui.commons.RowRepeater
Sets the aggregated noData.
Parameters:
{sap.ui.core.Control}oNoData The noData to set
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
setNumberOfRows(iNumberOfRows): sap.ui.commons.RowRepeater
Setter for property numberOfRows.

Default value is 5

Parameters:
{int}iNumberOfRows new value for property numberOfRows
Returns:
{sap.ui.commons.RowRepeater}this to allow method chaining
setShowMoreSteps(iShowMoreSteps): sap.ui.commons.RowRepeater
Override the default behavior of setShowMoreSteps to update the paging mode flag. Any change to the paging mode flag will result in the current page being set to the first page.
Parameters:
{int}iShowMoreSteps new value for property showMoreSteps
Returns:
{sap.ui.commons.RowRepeater}this to allow method chaining
setThreshold(iThreshold): sap.ui.commons.RowRepeater
Sets a new value for property threshold.

Threshold to fetch the next chunk of data. The minimal threshold can be the numberOfRows of the RR.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{int}iThreshold New value for property threshold
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
setTitle(oTitle): sap.ui.commons.RowRepeater
Sets the aggregated title.
Parameters:
{sap.ui.core.Title}oTitle The title to set
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining
triggerShowMore(): sap.ui.commons.RowRepeater
The triggerShowMore function increments the number of rows by the value of showMoreSteps.

This method will only trigger a showMore if the property showMoreSteps is set.

Returns:
{sap.ui.commons.RowRepeater}this to allow method chaining
triggerSort(sId): void
Sort the data.
Parameters:
{string}sId The ID of the sorter.
Unbinds aggregation rows from model data.
Returns:
{sap.ui.commons.RowRepeater} Reference to this in order to allow method chaining