API REFERENCE

exportAuditLogAsCsv

Downloads selected audit records as a CSV file.

What does this API do?

Downloads selected audit records as a CSV file.

Exact input and result types

typescript
exportAuditLogAsCsv(fileName?: string, filter?: AuditLogFilter): Promise<void>
ArgumentsRequiredType
fileNameOptionalstring
filterOptionalAuditLogFilter

The return type is Promise<void>.

Usage flow

After registering and initializing the Grid element, call grid.exportAuditLogAsCsv(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Read related types

Feature explanations and examples