cancel
Showing results for 
Search instead for 
Did you mean: 

UI5- detail page load issue

Former Member
0 Kudos

Hi,

We were developing a custom app.

We were able to hit and fetch the data from back end.

Whenever we select an item from Master List, its corresponding Detail List item is displayed.

But the issue is,

The Detail List has an information button and its corresponding data. It opens and close alternatively for each click in the Master list Item.

say for example, (Based on below mentioned picture)

If we click an Item in Master list(20003771), its corresponding detail list is loaded with with all the information visible (not hidden)

If we click another Item in Master list(20003772), its corresponding detail list is loaded but the values are hidden. We manuaaly need to click the information button to see all the information.

If we click another item it works perfectly.(20003790)

(i.e)

For alternative clicks (1,3,5,etc..) it works. But for (2,4,6 ...) clicks we need to manually open the item by pressing the information button.

Has anyone faced these sort of issues before ?

Kindly let-me know if you have any idea on this.

Thanks,

Babu

Accepted Solutions (1)

Accepted Solutions (1)

sozcan
Explorer
0 Kudos

I think your code calls setSelectedKey method in sap.m.IconTabBar class. Please control the selected key with getSelectedKey method. If it is already selected then do not call setSelectedKey method.

Answers (0)