DataTable Does Not Reflect Deleted Item Correctly Until Page Refresh

Widgets & Design

Hi,

I’ve been using FlutterFlow’s DataTable without any issues related to data refreshing for the past 1-2 months. However, today I noticed that the data isn’t displaying correctly. For example, I have an object under AppState with an element that’s a list. When I click a button to delete the 3rd item in this list, and then check the AppState, the 3rd item appears to be deleted. But when I look at the DataTable, the last item in the list is missing instead. If I refresh the page, I see that the 3rd item has been deleted.

I’ve been unable to figure out the cause of this issue. While trying to resolve it, I attempted to move most elements, including inputs within the DataTable, to a component. I also tried changing the Flutter version, but nothing worked.

What have you tried so far?

I’ve been unable to figure out the cause of this issue. While trying to resolve it, I attempted to move most elements, including inputs within the DataTable, to a component. I also tried changing the Flutter version, but nothing worked.

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