Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Force Reload

$
0
0

Hi All,

 

I have a problem with dynamic View.

 

I have a Page with list when select an item go to a second page to show some fields.

 

The second Page fields is create dynamic, so before I do .to(secondpage) I destroy the page (if its created).

 

  The problem is: when I destroy the page and create its again, the controller is load twice, the sapui5 pass through onInit(), onBeforeRenderer(), onAfterRender() twice, and I have some problems because I create the fields dynamic.

 

  One problem is with Table, on second call the table gets smaller, like this pics:

 

First Call:

http://i.imgur.com/AGoe9Dy.png

Second Call:

http://i.imgur.com/k9fcUjY.png

 

How I can force reload/re-render the Page without problems?

 

Thank You


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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