cancel
Showing results for 
Search instead for 
Did you mean: 

sap.ui.table.Table load all the data in single API Call

0 Kudos
967

Hi,

I want the ui table to load all the data in single service call. Tabel by default calls the OData service with $skip and $top parameters and on scroll next set of data will be loaded.

How to implement this?

Thanks,

Bhavya

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

what table you are using?

grid table has an attribute "threshold", if you set a big number to it, it should bring in all data

0 Kudos

Hi,

It worked thanks. I am using sap.ui.table Table.

Thanks,

Bhavya

Answers (2)

Answers (2)

prashil
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bhavyashree,

I haven't tested with Smart Table if it requires additional binding. In case of sap.ui.table.Table there is nothing required for binding it should traditionally work as normal binding.

Thanks

Prashil

0 Kudos

Thanks for you response. I will check.

prashil
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bhavyashree,

I would recommend with adding operation mode as client to the binding.

Thanks

Prashil

0 Kudos

Hi,

I am new to SAP UI5. I am using the Smart Table with sap.ui.table.Table.

If I set the operation mode to Client it will not pass top and skip parameters to the Odata service and fetching all the records.

But table binding is not happening. I am not seeing any records in the table. What is the issue with the Client operation mode?

whether Client operation mode will not support auto binding?

Thanks,

Bhavya