I'm using sap.m.List in my SAPUI5 Application. There are 90 Entries, one for each day in the last 3 Month. Looks like this:
Now I want to scroll to a specific CustomListItem, when a Button is clicked. My View is looking like this: 
The Idea is that I have three Buttons for scrolling directly to an month. For example: Today, last Month, third Month. Clicking the Button directly scrolls to the first entry of that month. I just found sth. like oList.setSelectedItem(oItem, true); which has no effect.
Someone has an idea how this can be done?
Thank you in advance.
from sap.m.List Scroll to specific Item

No comments:
Post a Comment