Can we implement Custom Pagination for Table/ Data table panel?

I recently started using Grafana, using SimpleJson plugin to fetch data for table panel.
The fetched data list can be pretty huge like several thousands, so want to limit the number of rows to be returned from backend.
I am looking for a custom pagination option where Previous, Next, Last buttons could trigger REST calls to backend to fetch some limited rows instead for everything.
Is there an implementation already available for such scenario? If no such implementation, please suggest what can be done here.

Hi, any solution yet ?