API reference: @salmonui/data-grid
DataGridColumnPinChangeEventinterface
import type { DataGridColumnPinChangeEvent } from '@salmonui/data-grid';interface DataGridColumnPinChangeEvent extends DataGridEvent {
readonly field: string;
readonly pinned: DataGridColumnPin | null;
readonly previousPinned: DataGridColumnPin | null;
}
onBeforeColumnPinChange (cancellable) / onColumnPinChange.
| Name | Signature | Description |
|---|---|---|
field | readonly field: string; | |
pinned | readonly pinned: DataGridColumnPin | null; | Proposed (before) or applied (after) side; |
previousPinned | readonly previousPinned: DataGridColumnPin | 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). |