Skip to Content
0
Jul 25, 2018 at 08:46 PM

Auto selected item in master view?

81 Views

hi Experts!

I have a following situation in a master view.

after deleting an item from the list, the item is deleted from the list OK, but in the detail still continues displaying the data of the item deleted from the list.

I would like to automatically select the first item in the list and as a consequence in the detail load the data of the selected item.

i try this:

var oGrowingTriggerID = oList._aNavSections[1];

var oGrowingTrigger = sap.ui.getCore().byId(oGrowingTriggerID); oList.setGrowingThreshold(oIndex);

oGrowingTrigger.firePress();

but it did not work