When using Datatable to display documents 10 at a time, do I need to get all the documents from Firebase?

Database & APIs

I would like to use Datatable's Pagenation feature to display documents 10 at a time. In this case, if I retrieve all documents from Firebase, it works fine.

However, we are concerned that the cost of loading will increase as the number of documents increases.

Currently, it seems like all the documents are retrieved and displayed 10 at a time, but we would like to make it so that the next 10 documents are loaded from the Database when the Next button in the pagination is pressed.

Is there a way to do that?Is it like using the API?

What have you tried so far?

I tried setting a limit of 10 items to be loaded from Firebase, but it just stopped displaying after the 11th item, which was not the behavior I wanted.

Did you check FlutterFlow's Documentation for this topic?
Yes
4 replies