Skip to Content
Technical Articles
Author's profile photo Dhanasupriya Sidagam

Update SmartTable with sap.m.List items selection

Hello All

I came across a requirement in Master Detail template that when the user press an item in master page, item details should come in the smart table.

I have implemented the same scenario with sap.m.List and smart table controls using Northwind OData service to share with you in our community.



Initially I am fetching all the item details through the entityset binding in smart table. When the user presses the order number, I am doing this.getView().byId(“LineItemsSmartTable”).rebindTable(true); in onListItemPress which calls the onBeforeRebindTable method written in the controller above.


Hope this helps someone around the community.

Thank you!!
BR// Dhanasupriya Sidagam


Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.