Skip to Content
0
Dec 31, 2022 at 04:00 PM

Binding Expand entity into table - UI5

357 Views

Dears,
I have a Task that I need some help with,
I have create Search help for Employees my Task after select one of this I need to display his Tasks,
I created Association between tasks table and employee and its works well,
My Issue how to bind the Expand tasks to Table ,

image.png

The header data display well but the Tasks Items doesn't Display , in the init function:
oTable.bindRows({path : "/ZEMP_INFOSet", parameters : { "expand":"EmpToTask"}} );
I have check the gateway and the code working find go through debugger, and select the data .

I think the Issue with the Binding of the Table, I have tried many format but does not work:
<Text id="_IDGenText2" text="{/EmpName}" wrapping="false" />

<Text id="_IDGenText2" text="{EmpToTask/TaskName}" wrapping="false" />
a

I need some help with display the tasks in the Table,

Regards,
Mahmoud Farag

Attachments

image.png (20.7 kB)