Skip to content

ColumnSelectionDialogResult Type documentation

Properties
columns: Column[]
type: ColumnSelectionDialogResultType
when type === 'restoreDefault' , this function is set and allows to provide the columns
updateColumns?: (columns: Column[]) => void

Types Documentation

Properties
If true, the column is disabled and cannot be interacted with. This means, the user cannot change any of the column options like the visibility etc.
disabled: boolean
If true, the order of the column can be changed by dragging it to another position.
draggable: boolean
If true, the title can be renamed.
editable?: boolean
Unique id
id: string
Title of the column.
title: string
Decides if the column is visible to the user.
visible: boolean
("ok" | "cancel" | "instant" | "restoreDefault")
Emit type of dialog actions.

ok : Emitted when user submits. cancel : Emitted when user clicks cancel. instant : Emitted when visibility or place of a row changes.

instant type is used to reflect the ui changes real time even before closing the dialog.

Except where otherwise noted, content on this site is licensed under MIT License.