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