Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: How to bind the data to the table in mobile?

$
0
0

Hi vijay,

 

I am using Public Service URL

https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZGWSAMPLE_SRV/BusinessPartnerCollection?sap-ds-debug=true

 

I can get the list of BusinesspartnerCollection .But my problem is when I click on seleted businespartner I want to get the relavant Salesorder list in Detail page in Table Format.

 

https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZGWSAMPLE_SRV/BusinessPartnerCollection(%270100000000%27)/SalesOrders?sap-ds-debug=true

 

So, when I click on I am using below code

 

collectionListTap : function(evt){

                    this._showDetail(evt.getSource());

          },

 

_showDetail : function (item) {

 

                    // navigate to detail page

  sap.ui.getCore().getEventBus().publish("nav", "to", {

                              id : "Detail",

                              data : {

                                        context : item.getBindingContext()

                              }

                    });

 

                    // tell detail to update

                    sap.ui.getCore().getEventBus().publish("app", "RefreshDetail", {

                              context : item.getBindingContext()

                    });

          },

 

 

But how can I bind salesorder list to in Detail page?

 

Thanks&Regards

Sridevi


Viewing all articles
Browse latest Browse all 8124

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>