API REFERENCE
auditLogChanged
Emitted when an audit record is added. Read entry to connect your app's retention flow.
What does this API do?
Emitted when an audit record is added. Read entry to connect your app's retention flow.
Exact input and result types
auditLogChanged: { entry: AuditEntry }Usage flow
Subscribe with grid.addEventListener('auditLogChanged', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.
const controller = new AbortController();
grid.addEventListener('auditLogChanged', event => {
console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();Read related types
Feature explanations and examples
- View change history
The audit log tracks row, cell, and selection changes and undo/redo transitions. Use it to inspect change history that current values alone cannot reveal.