DataTable doesn't properly determine number of rows in run mode or web deployment, works in test mode

Troubleshooting

When I run in test mode my DataTable works properly and displays my whole list I have queried from supabase in a page load action that stores the query to a page variable. The DataTable generates children dynamically from the page variable and I've implemented a custom sorting function. The DataTable is not paginated and it's in a scrolling column -- the column's height is given by an equation (row height * number of rows in page variable) and this check of the page variable succeeds giving an empty column which is the proper size.

What have you tried so far?

I've tried manually setting the number of rows to a constant value, which results in that number of rows being shown if available or the max number of rows plus an infinitely loading row. Setting the number of rows to unset or to the number of list items for the page variable or the action output variable did nothing. Making a separate page variable for the number of rows and setting to that did nothing.

I experimented a bit with using a text field and button to manually set the number of rows on the fly, but it seems it only generates off the first instance of the variable, whatever default value I set. Changing the value on the fly does nothing, even in test mode.

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