View as Markdown

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).

DataGridColumnChooserOpenEvent members (5, 4 inherited)
NameSignatureDescription
columnsreadonly columns: readonly DataGridColumnInfo<Row>[];
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).