Skip to content

Record Versions

Version history grid for a record: bind thing_id + version_id, user picks another version row.

HTML tag: c-ed27eef4c79d847f4816c51e85dcdd49a

  • pick among saved versions of one record
  • audit trail version switcher
  • not a general purpose data grid
PropTypeDefaultDescription
thing_idString
version_idString
  • Set .thing_id and current .version_id on host.
  • Listen version-picked — detail is the row item; update version_id in parent when user switches.
  • Specialized audit/history UI — not a general editable grid (ab-data-grid).
  • Backend supplies version rows; component does not invent versions.
EventDetail
version-pickeditem: Object

Do not use ab-data-grid for the built-in version picker UX. Do not use for unrelated tabular data without version semantics.

<c-ed27eef4c79d847f4816c51e85dcdd49a .thing_id=${recordId} .version_id=${activeVersion} @version-picked=${onVersionPick}></c-ed27eef4c79d847f4816c51e85dcdd49a>