Skip to Content

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 26, 2020 at 01:12 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 26, 2020 at 09:08 AM

    Hi Bhavyashree,

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

    Thanks

    Prashil

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • Posted on Jul 26, 2020 at 01:22 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.