glide-data-grid
glide-data-grid copied to clipboard
Fix incorrect calculation of DataEditor height.
I believe sampling only 10 rows as opposed to all rows was an intentional performance optimization, as summing heights for thousands or millions of rows is an issue.
Yep, I think we can close this since its an intended optimisation. But maybe we could use a slightly higher value, e.g. 50 or 100 rows, to get a better approximation without adding to much computation overhead.