cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a categorized list in SAPui5???

Former Member
0 Kudos

I have created a simple JSON model in the index..and in the view i used the formatter function,but the list should be categorized according to the data..i.e

Title1

2-3 items

Title2

3-4 items

Title3

2-3 items

and i want them all in one list....can ne1 HELP???

Accepted Solutions (1)

Accepted Solutions (1)

jmoors
Active Contributor
0 Kudos
Former Member
0 Kudos

Thanks

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Jason,actually i solved the first error,

i have to create a control which will give me this output..(Pic Attached)

.

.

now i am going through the link u gave of Angel..Thnx

Former Member
0 Kudos

Hi...i have one more question..

this is what i did(see the pics attached)..

but in the output that i get..standard list item is empty..

how can i get the title name in them?..its not binding..

and now the main question...HOW CAN I CREATE A CONTROL OF THIS LIST(EXTEND CONTROL)???

;

;

;

;

......PLZ HELP!!!

jmoors
Active Contributor
0 Kudos

It's difficult to see from screenshots, can you upload you code to jsbin or create a Gist?

Regarding creating controls, you can check the documentation

https://sapui5.hana.ondemand.com/sdk/#docs/guide/OnTheFlyControlDefinition.html

Also Angel has create a good blog:

http://scn.sap.com/community/developer-center/front-end/blog/2014/02/11/how-to-create-custom-control...

Regards,

Jason