FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

DataTable does not refresh #4948

Open SebyOnGitHub opened 14 hours ago

SebyOnGitHub commented 14 hours ago

Can we access your project?

Current Behavior

When the "Refresh Database Request" action is triggered, the list is updated but not the DataTable.

Expected Behavior

The DataTable should behave like a list and should also update.

Steps to Reproduce

  1. Create a new project/page

  2. Add Supabase

  3. Add a container that queries a table

  4. Add a DataTable, which will then create dynamic children of this query from this container.

  5. Add a button that e.g. inserts a new row into the table and a refresh database action. image

  6. (Optionally) Create a list that will also create dynamic children like the DataTable. It should then look something like this: image

Reproducible from Blank

Bug Report Code (Required)

IT4oz/Llw4x2occB7s7qdcAxnSQRH0h7U50Z1spOGDwbfaKvPIlzac/BYVhCUuG4THNlKEWJnT4fw+DKkvLLK+4BHxCsfbU5zat6SBaUWlO/aoSlO8ySY3B6RMJYf1yd0Z67rSNCHO9YLn9h7GC2AezKdB3UQb36Zwh9f6PHaOI=

Visual documentation

Here, a few rows were loaded on page load. Then the button was pressed a few times and the list at the bottom was refreshed each time the "Refresh Database Request" action was triggered. But the DataTable remains unchanged: image

Environment

- FlutterFlow version: 3.24.2
- Platform: Windows
- Browser name and version: 122.0.6261.129
- Operating system and version affected: Windows 10

Additional Information

No response

Franco98404 commented 11 hours ago

I have the same problem! But in my case I have 2 related errors

Current Behavior

  1. The first is that the number of items is never updated from the API call - minute 3:23
  2. Currently only some items are shown instead of showing all items in the API call - minute 3:55

Expected Behavior

  1. The number of elements must be identical to the number of elements in the API call.2. The elements should be displayed as they are received from the API Call

Bug Report Code

IT40lPLq25dIsctZ1rrtbfpsmj45KVh8bZ0S09ZBaBosCJzwP4lzZ8nRUEleTcPid21cIVqjsGcIpu+LufPLEccFHwmIQ75byc9UdA/wXk6nR8WmPZC7OEdSBdlnGh2PyqCOih1dPrF2ZV4+wDuyCOzLSivsH4+zPDEjI+WKGIbNo3CyHSXkUDh2tmNecCfn

Visual Documentation

https://www.loom.com/share/94ec47c9d2e547a1bef6f6c275d092ef