on 01-19-2016 5:06 AM
Hi Experts,
I have a requirement to show two lists one below the other with scrollbar for each of them. I tried using grid but I am not able to get the scrollbar for individual list. Please help.
Thanks,
Mansi
Please check if it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One way is to create a view for each list. Call them from the main as below.
Initial View:
<Page title="2 Lists">
<content>
<mvc:XMLView viewName="TestForm.view.view1" height="50%"></mvc:XMLView>
<mvc:XMLView viewName="TestForm.view.view2" height="50%"></mvc:XMLView>
</content>
</Page>
View1 & View2 sample code like below to display your list:
<App height="100%">
<Page>
<List items="{fruits>/}">
<items>
<StandardListItem title="{fruits>name}">
</StandardListItem>
</items>
</List>
</Page>
</App>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Will this help? http://jsbin.com/matule/edit?html,output
Else, please let us know
Hi Mansi,
If you place two lists one after another without any container/layout with scroll enabled, is that not solving problem?
Regards,
Sanjoy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you please share your code
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 |
---|---|
78 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.