Server conflict detection
Detect concurrent modifications using row versions, ETags or last-modified fields compared on save. A conflict marks the row and preserves both the local and the server values, which prevents silent lost updates.
Planned. This page shows the specification from issue #195. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Two side-by-side grids simulating two users sharing one mock server.
Expected behavior
Editing the same row in both grids and saving the second produces a conflict. The row shows a conflict indicator and ConflictInfo holds the base, local and server values. Mode 'none' shows last-write-wins behaviour for comparison.
Planned API surface
versionFieldconcurrencyModeconflictDetectedgetConflicts()ConflictInfoAcceptance criteria
- The version field is sent with each update. (pending)
- A 409 or 412 response yields ConflictInfo per row. (pending)
- A conflicted row is excluded from further auto-retries. (pending)
- getConflicts() lists all unresolved conflicts. (pending)