API reference: @salmonui/pivot-table
PivotComputeEventinterface
import type { PivotComputeEvent } from '@salmonui/pivot-table';interface PivotComputeEvent extends PivotEvent {
readonly phase: 'initial' | 'update';
readonly status: PivotComputeStatus;
readonly duration: number;
readonly result: PivotResult | null;
}
onComputeStart / onComputeEnd.
| Name | Signature | Description |
|---|---|---|
phase | readonly phase: 'initial' | 'update'; | |
status | readonly status: PivotComputeStatus; | |
duration | readonly duration: number; | Milliseconds from start to end (end event only; 0 on start). |
result | readonly result: PivotResult | null; | |
typeinherited | type: string; |
|
sourceinherited | source: DataGridEventSource; | |
defaultPreventedinherited | defaultPrevented: boolean; | True after |
preventDefaultinherited | preventDefault: () => void; | Before-events and click events: cancels the action (or the built-in behavior). |