Skip to content

Fix(editor): Data Table does not auto-refresh dependent columns (e.g., updated_at) after update#2073

Closed
everettbu wants to merge 4 commits into
masterfrom
master-20765
Closed

Fix(editor): Data Table does not auto-refresh dependent columns (e.g., updated_at) after update#2073
everettbu wants to merge 4 commits into
masterfrom
master-20765

Conversation

@everettbu

Copy link
Copy Markdown

Mirror of n8n-io/n8n#20765
Original author: Rakib-mbstu


Summary

Fixes the issue where editing a cell in the Data Table only updates the edited field, leaving dependent columns like updated_at stale until page reload.

After a cell value change:

  • Calls updateRow with the new data.
  • Immediately fetches the full updated row via fetchRowById to get server-generated fields (e.g., new updatedAt timestamp).
  • Replaces the local row in rowData with the fresh data.
  • Triggers setGridData to refresh the AG Grid view.

This ensures the UI reflects backend changes without requiring a full page reload.

Screencast.from.2025-10-14.18-08-09.mp4

Related Linear tickets, Github issues, and Community forum posts

fixes #20740

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

Additional Notes

  • Backend already updates updated_at correctly—this is purely a frontend refresh fix.
  • No new dependencies added.
  • Tested in self-hosted mode (n8n v1.116.0).

@everettbu everettbu added community Authored by a community member in linear Issue or PR has been created in Linear for internal review labels Feb 23, 2026
@everettbu

Copy link
Copy Markdown
Author

Upstream PR was closed or merged. Code is synced via branch mirror.

@everettbu everettbu closed this Feb 23, 2026
@everettbu
everettbu deleted the master-20765 branch February 23, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Authored by a community member in linear Issue or PR has been created in Linear for internal review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants