View as Markdown

API reference: @salmonui/pivot-table

PivotErrorEventinterface

import type { PivotErrorEvent } from '@salmonui/pivot-table';
interface PivotErrorEvent extends PivotEvent {
    readonly error: Error;
    readonly action: PivotAction | 'compute' | 'drillThrough' | 'export' | 'restore';
}

onError.

PivotErrorEvent members (6, 4 inherited)
NameSignatureDescription
errorreadonly error: Error;
actionreadonly action: PivotAction | 'compute' | 'drillThrough' | 'export' | 'restore';
typeinheritedtype: string;

'sortChange', 'beforeSortChange', ...

sourceinheritedsource: DataGridEventSource;
defaultPreventedinheriteddefaultPrevented: boolean;

True after preventDefault() (before-events and click events).

preventDefaultinheritedpreventDefault: () => void;

Before-events and click events: cancels the action (or the built-in behavior).