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?