OpenUI5 version:
Browser/version (+device/version):
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
1.
2.
3.
What is the expected result?
What happens instead?
Any other information? (attach screenshot if possible)
Employee-{EmployeeSet: Array(2), EmployeeId: "2337"}
{
EmployeeId: "2337"
EmployeeSet: Array(2)
0: EmployeeDesc: "ABC" EmployeeNumber: "123" TotalScore: "2000.000" EmployeeDetail: Array(2)
0: {ReceivedScore: "30", Rank: "1", BatchNo: "100"}
1: {ReceivedScore: "40", Rank: "2", BatchNo: "101"}
1: EmployeeDesc: "XYZ" EmployeeNumber: "456" TotalScore: "3000.000"
EmployeeDetail: Array(2)
0: {ReceivedScore: "50", Rank: "1", BatchNo: "102"}
1: {ReceivedScore: "60", Rank: "2", BatchNo: "103"}
}
Hi Team, I want to bind above nested Josn data in List. The List contains following column:
EmpNo, EmpDesc, ReceivedScore, Rank, BatchNo.
it contains 4 rows i.e;
123|ABC|30|1|100
123|ABC|40|2|101
456|XYZ|50|1|102
456|XYZ|60|2|103
I tried many ways but was unable to bind this data can you please help me to solve this problem.. Any help is appreciated.
Thanks:)
Hi @LalitMendha
this is not a place to ask a question like yours. You might want to try the openui5 slack channel
https://slackui5invite.herokuapp.com/
or stackoverflow
https://stackoverflow.com/questions/tagged/sapui5
Sincerely
Fjaoos
Use the sap.m.List items aggregation, bindItems("/EmployeeDetail",
https://jsbin.com/sanudiqeja/edit?html,output
For more details:
https://openui5nightly.hana.ondemand.com/#/topic/bf71375454654b44af01379a3c3a6273
https://openui5nightly.hana.ondemand.com/#/topic/9373793b290d429ba1bc6aea1ce5482f
https://openui5nightly.hana.ondemand.com/#/topic/91f057786f4d1014b6dd926db0e91070
Most helpful comment
Hi @LalitMendha
this is not a place to ask a question like yours. You might want to try the openui5 slack channel
https://slackui5invite.herokuapp.com/
or stackoverflow
https://stackoverflow.com/questions/tagged/sapui5
Sincerely
Fjaoos