cancel
Showing results for 
Search instead for 
Did you mean: 

Master Page refresh not Happening

0 Kudos

Hi all,

i have a growing list defined as below and displaying the data in master page.if more than 10 items in the list then scroll bar appears.

when list is loaded on the screen ,system selects first item automatically by default .and then

system selects the list item one by one ( using set selected item ) after completing the processing of each list item .

but the issue is ,scrolling down is not happening automatically when the system selects the 11th list item automatically.

we have to scroll down manually to see the next items in the list.

please let me know how to solve this issue.

my List in view is like below,

<List growingScrollToLoad="true"  id="idList" items="{/MasterData}" mode="SingleSelectMaster" selectionChange="onSelectionChange"  >

Accepted Solutions (0)

Answers (1)

Answers (1)

saivellanki
Active Contributor
0 Kudos

Hi Murali,

Will this sample help? Plunker

That scroll is generated by Page control and page control has scrollToElement method, which expects element as first parameter, where you can pass the list item as the element.

In the sample provided, check MasterView.controller.js --> onUpdateFinished method code.

Page scrollToElement API: JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.m.Page

Regards,

Sai Vellanki.