on 04-10-2015 10:25 PM
Hi,
I have a Scroll Container in JSView. This works well for templating. However, I am looking for the same code in XML view. Please do help out.
var container = new sap.m.ScrollContainer({
vertical:true,
content: {
path: '/results',
template: oTile
}
});
Thanks
Senthil Kumar
Hello Senthil,
below is the way of representing the xml code of the "ScrollContainer",
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
controllerName="container.Sample" xmlns:html="http://www.w3.org/1999/xhtml">
<Page title="Title">
<content>
<ScrollContainer
id="scrollcontainer" height="100%" content="{/results}">
<Page tite=" Your template "></Page>
</ScrollContainer>
</content>
</Page>
</core:View>
Hope this code helps,
regards,
Nagarjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.