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.
view.xml
controller.js
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.
Output:
Hope this helps someone around the community.
Thank you!!
BR// Dhanasupriya Sidagam
#EnhanceLearning
Subscribe
Login
Please login to comment
0 Comments