Update SmartTable with sap.m.List items selection
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.
BR// Dhanasupriya Sidagam
Be the first to leave a comment
You must be Logged on to comment or reply to a post.