Skip to Content
0
May 02, 2019 at 01:51 PM

How rebind Smart Table

2158 Views Last edit May 21, 2020 at 03:40 PM 2 rev

Hello colleagues.

Please tell me if there is a possibility to change the entity set in Smart Table. I have OData with 3 tables. In UI I have List and Smart Table. I want click in List Item and change entity set in Smart Table. For example:

Click List Item 1 --- See Smart Table with 4 columns and Data from OData entity 1 (columns are indicated in annotation file).

Click List Item 2 --- See Smart Table with 3 columns and Data from OData entity 2 (columns are indicated in annotation file).

Click List Item 3 --- See Smart Table with 2 columns and Data from OData entity 3 (columns are indicated in annotation file).

When I use method setEntitySet() more than once, I have this problem:

I want to know if it is possible to do as I want and if I can, how to do it?

I am new in SAPUI5 and I will be glad to any help:)

Attachments

123123123.png (10.1 kB)