on 01-08-2015 12:20 PM
Hello,
I have a usecase wherein there is a list & when I click on a list item it should open another list with few items in it.
In this example SAPUI5 Explored it's already having a list which is grouped in to category. This suits my usecase very well except that I should be able to hide the list items of a particular group when not in need.
Is there any other control for this requirement? if not, how to achieve this?
Thanks,
Rashmi
If your data is already grouped, you can use panels. SAPUI5 Explored
For each panel you can create then a list with the children.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, but I would like to give you a sample template 🙂
example data structure:
results
0
title
results
0 ... ...
1 ... ...
1
title
results
...
xml template:
<ListBase items="{path: 'Data>/results' }">
<CustomListItem>
<Panel
expandable="true"
expanded="false"
headerText="{Data>title}">
<ListBase items="{path: 'Data>results' }">
<CustomListItem>
// ...children items here
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.