How to refresh table widget with the data from Rest API

Hi All,

We are consuming a rest api and binding the data to table widget in web application using out systems 11.7.

Now trying to implement pagination for the same.

Rest API is modified to accept page number and page size as parameters and return data based on them.

How to refresh the table widget with the data received from the rest API based on the page number user selected.

No luck with the ajax refresh.

Any help is appreciated. Thank you in advance

Hi Sindhu,

I think below post will be helpful for you just replace the aggrigate with you API in the explained scenatio.

https://www.outsystems.com/forums/discussion/37002/how-the-pagination-navigation-widget-works/

Nikhil Gaur wrote:

Hi Sindhu,

I think below post will be helpful for you just replace the aggrigate with you API in the explained scenatio.

https://www.outsystems.com/forums/discussion/37002/how-the-pagination-navigation-widget-works/

Hi Nikhil,


Thank you for your response.

I am facing issue in Notify action. For entity, we can do 'Refresh Data'. 

To my knowledge, in case of Rest API we can't do Refresh Data. Correct me if I am wrong.

So, tried calling the Rest API again by passing the page number and page size to get fetch next set of data to refresh table widget.But no luck.

On UI, the table widget show no data available.