Flutterflow becomes slow and laggy when a lot of rows are fetched in a datatable from an API

Widgets & Design

Hello, I have a datatable which I populate from API calls using Firebase and Supabase DBs.

When I have few rows (e.g. 500), everything is kinda OK. When I increase the number of rows, and get up to 5K-10K-100K, everything starts to become real slow. The API call is slow, but even when the results are fetched, FF is still slow. It takes some time for the buttons to become responsive so that actions can be executed and so on. What is going on? Any ideas/suggestions on how to deal/fix these issues?

What have you tried so far?

Tried fixing the issue

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