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

view get scroll to top on model.refresh(true)

$
0
0

Hi All,

 

I have view in which various textField are present which are also dependent on each other. So When I update one textField which modify other text boxes values. but I am doing these changes through model. view is bind to model. on change event of TextField I update model and then do


this.getView().getModel("myModelName").refresh(true);

 

Its work perfectly fine also update my view with updated values. But every time I do model_refresh it scroll view to top. There are few textField which are in bottom of view or page which causes view to scroll to top in on-change event, which is annoying.  Any Idea on how to avoid view to scroll top on model_refresh.

 

 

I am using SplitApp control.

 

 

 

Any help is appreciated.

Thanks in advanced


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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