Skip to Content
0
Dec 13, 2022 at 10:16 AM

Issues with element binding in sap.m.table

274 Views Last edit Dec 13, 2022 at 10:31 AM 2 rev

Hi All,

Scenario- I have multiple entries in my table (using sap.m.table) in my custom UI5 app. When I click on a table row, I should navigate to the view with row details.

Currently, I have tried to achieve the above scenario using element binding with the below code. But I am getting oListItem as undefined, hence not able to get the binding context of the row.

What should be passed instead of “listItem”. I tried passing “rowContext” and "selectedItem" as well, but getting the same error.

image.png

Regards,

Meenakshi

Attachments

image.png (42.1 kB)