Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Reload perticular view

$
0
0

Hello i have create sapui5 app using sap.m.split library and also routing functionality

 

in my app has two view
1 - category view

2 - detail view

 

in my router like this

 

routes : [

                {

                      pattern : "",

                      name : "category",

                      view : "category",

                      targetAggregation : "masterPages",

                 },

                   {

                       pattern : "",

                       name : "detail",

                       view : "detail",

                        targetAggregation : "detailPages",

                                   

                     }

          ]

 

when user select any category in category page at time.

i call itemselectfunction and update jSon model by ajax response and display data  in detail page and perfectly work.

 

now user select second category at time i also call itemselectfunction and update jSon model value and display data in detail view and it's work perfectly.and data display in data table using sap.m.Table.

 

 

Now my question.

i need to also update table text they are comes in jSon model so how to achieve or how to reload detail view again.

 

please help me.


Viewing all articles
Browse latest Browse all 3184

Trending Articles



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