data_table_2 icon indicating copy to clipboard operation
data_table_2 copied to clipboard

iOS lags with larger tables

Open brneas opened this issue 9 months ago • 2 comments

I've run into an issue where larger data tables appear to be laggy and almost stutter, specifically on iOS. Below I've attached simulator examples of 30 rows, 210 rows, and 490 rows from Android and iOS. Android appears to be fine for the most part, there is a little slow down around 500 rows but the data table is still responsive and it works. iOS struggles to handle more than 100 rows. At 210 it is barely usable and at 490 it's almost impossible to use. You can see in my iPhone 490 Rows example that there is a point where the data table becomes unresponsive for several seconds.

I'm assuming this is probably more of a Flutter issue and less of a data_table_2 issue. Does anyone have any solutions to this though or recommendations to at least improve performance? The best solution I've come up with so far is limiting the table to 50 rows but in my opinion that's not much of a data table.

iPhone 30 Rows Image

iPhone 210 Rows Image

iPhone 490 Rows Image

Android 30 Rows Image

Android 210 Rows Image

Android 490 Rows Image

brneas avatar Mar 18 '25 19:03 brneas

yes i had the same issue when using this plugin. The issue was fixed when i replaced the expanded view with flexible. It worded for me..

brishav avatar May 12 '25 11:05 brishav

same

spoorknight avatar Jul 24 '25 03:07 spoorknight