u/vansegen1313

AG Grid + Angular Signals — how do you keep rowData in sync without resetting unsaved grid changes?

Running into an architectural problem with AG Grid and Angular signals and not sure what the right pattern is.

The setup: My rowData is derived from a chain of computed signals:

randomNoteDetail (linkedSignal)

→ randomNoteLines (computed)

→ sortedLines (computed)

→ gridRowData (linkedSignal) ← resets here

The problem: Whenever transferNoteDetail changes for any reason, gridRowData resets to server state and wipes any unsaved in-grid edits the user made via cell editing or applyTransaction.

I know AG Grid manages its own internal row model independently of the rowData binding — so they diverge after first render. But linkedSignal re-evaluates eagerly and keeps pushing stale server data back into the grid.

The tricky part: updates to rransferNoteDetail are legitimate — buyer, seller, date etc. can all change — but those updates cascade into lines which cascades into rowData and resets everything.

How are others handling this? Is the answer to fully abandon reactive rowData and own the grid state entirely via applyTransaction? Or is there a clean way to keep the two in sync?

reddit.com
u/vansegen1313 — 4 days ago
▲ 3 r/MTB

Looking for camps where I just show up and everything is handled. guiding, lodging. Not interested in DIY trip planning, want a proper camp structure.

Anyone done something like this? Which operator and would you repeat it?

reddit.com
u/vansegen1313 — 16 days ago