Namespace sap.ui.model.TreeBindingUtilsModule: sap/ui/model/TreeBindingUtils


Method Summary
sap.ui.model.TreeBindingUtils.mergeSections(aSections, oNewSection)Merges together oNewSection into a set of other sections (aSections) The array/objects are not modified, the function returns a new section array.
Method Detail
sap.ui.model.TreeBindingUtils.mergeSections(aSections, oNewSection): object[]
Merges together oNewSection into a set of other sections (aSections) The array/objects are not modified, the function returns a new section array.
Parameters:
{object[]}aSections the sections into which oNewSection will be merged
{objec}oNewSection the section which should be merged into aNewSections
Returns:
{object[]} a new array containing all sections from aSections merged with oNewSection