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

typescript
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.

javascript
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