· Experimenting with low-code tools

Make a DataTable react to a chenge in the Page

Widgets & Design
Resolved

Hello. I'm trying to implement a patters whereby the user would click on a list item, and a DataTable below load results filtered by a field selected in the list.

I'm doing this:

  • DataTable is wrapped in a contaienr with a BE query filtering by a variable pulled from the Page State

  • When the user selects an Item in the List, I'm updating the Page State with the filter. I'm marking 'rebuild Current Page' to ensure the datatable (and it's containing Container) are reloaded.

But the table doesn't seem to reload.

Am I doing something wrong? And if so, what's the best practice for such a pattern?

What have you tried so far?

See above

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