Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3229

Re: Scroll in sap.m.table

$
0
0

Hello Vijay

 

 

i tried that.

It seems that the scrollcontainer doesnt know the method "scrollToElement". I get the error

function undefined.

I did the following:

 

 

Declare containter:

 

 

  var oScrollcon  =  new sap.m.ScrollContainer({  "IDHECINSTSCROLL", 

 

 

Then later when i want to scroll:

 

 

var element = sap.ui.getCore().getElementById("Install_Data");

var oItem = element.getItems()[index];           

var oScroll = sap.ui.getCore().getElementById("IDHECINSTSCROLL");

  oScroll.scrollToElement(oItem);

 

 

It functions until i call scrollToElment. Thats undefined either something with the code here is wrong

or our libraries dont support that method yet.

Is there another way to do the scrolling?

 

 

Regards

 

 

Dirk


Viewing all articles
Browse latest Browse all 3229

Trending Articles



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