Table updates not taking

Hi, I’m working with a table that has editable fields, a primary key set, mapped values are correct ({{ item }}), and edits are made in Preview mode.
Despite all of this, recordUpdates is always undefined. I’ve tried:

  • Resetting table state
  • Duplicating the table
  • Editing in Preview mode and clicking out
  • Console logging recordUpdates after changes

It never returns anything. This feels like a platform-side bug. Can you confirm if there’s anything else that might block recordUpdates from working?

Contact Retool Support

Hello @ac26, Welcome to the Retool Community :wave:

Can you share some screenshots for better understanding?

5 Likes

Hi! I’m working on a table-based product update page. The table displays properly and has editable fields, but when I make changes, recordUpdates is returning undefined. I’ve double-checked that the data source is set, the primary key is configured, and columns are editable. Attached are screenshots of my table, settings, console output, and the update button configuration. I appreciate any insight. I can add screenshots of any other components you may need to see. Thank you!

Hi @ac26,

For capturing pending table edits, you can you try using .changesetArray instead? Here's more info about this property in our docs: The Table component for Retool Apps | Retool Docs

If needed, you can also check on "Include full rows in changeset array` in the table's Advanced Interaction options:

.recordUpdates was the property for an older, deprecated version of the table component, which didn't have the primary key feature.

3 Likes