cancel
Showing results for 
Search instead for 
Did you mean: 

Need lazy loading for some columns in a SAPUI5 table

nicolae_ciumac
Participant
0 Kudos

Dear community,

Is there a way to lazy-load a part (2 columns out of 5 total) of the table in sapui5?

If possible with a FIORI Template Table Control.

Use case:

let's say I need to display a table with First Name/Last Name/Score1/Score2/Birthday in this order from left to right (as columns in the table).

I can get the First, Last names and birthday by binding them to an OData model A. But, for Score1 I would need a binding against OData model B, and for Score2 I would need a binding against OData model C. I can also expand via navigation property from A to B and from A to C. So how do I load the columns First, Last names and birthday right away, while the Scores get loaded lazily?!

I'm very grateful for quick feed-back, since it's quite urgent for me to find this out.

Regards,

Nico

View Entire Topic
duncanbarre
Participant
0 Kudos

I have written a blog about lazy loading columns. Hopefully this helps:

https://blogs.sap.com/2022/10/14/lazy-loading-columns-with-intersection-observer-sapui5/