API reference: @salmonui/data-grid
DataGridColumnChooserOpenEventinterface
import type { DataGridColumnChooserOpenEvent } from '@salmonui/data-grid';interface DataGridColumnChooserOpenEvent<Row> extends DataGridEvent {
readonly columns: readonly DataGridColumnInfo<Row>[];
}
onBeforeColumnChooserOpen (cancellable).
| Name | Signature | Description |
|---|---|---|
columns | readonly columns: readonly DataGridColumnInfo<Row>[]; | |
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). |