I have two tables in my FlutterFlow application. The first table displays a list of addresses and correctly adjusts the number of rows based on the number of addresses in the list. I can then add addresses to the second table one by one. My issue is that the row count in this second table doesn’t update dynamically as addresses are added. It seems the row count is set only once when the table is built and doesn’t change afterward. This results in multiple pages with only a few rows each, whereas I would like to have a single page with vertical scrolling to view all added addresses without switching pages. How can I dynamically update the row count in this table to allow smooth scrolling without pagination?
Dynamic Row Count in DataTable
Widgets & Design
I attempted to create two Component States that I update with the number of addresses in my list each time the On Rows Per Page Changed event is triggered. However, this event doesn’t seem to fire, so this solution doesn’t work.
I also tried setting Number of Rows to match the number of addresses in my list. This works initially when the table is created, but the row count no longer updates dynamically as I add more addresses.
Yes
3
5 replies