API REFERENCE

csvImported

Emitted after CSV import completes. Report the actual applied row and column counts to users.

What does this API do?

Emitted after CSV import completes. Report the actual applied row and column counts to users.

Exact input and result types

typescript
csvImported: { rowCount: number; columnCount: number }

Usage flow

Subscribe with grid.addEventListener('csvImported', 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('csvImported', event => {
  console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();

Feature explanations and examples