ColumnChooserBeforeOpenEvent

Event raised before the ColumnChooser dialog opens. Provides the effective ColumnChooser settings for the pending dialog. Allows modification of settings or cancellation of the dialog open action. Use this event to adjust search, ordering, or selected columns before display.

Props

The following table outlines the props for the ColumnChooserBeforeOpenEvent:

NameTypeDefaultDescription
cancel
boolean
false

When true, prevents the ColumnChooser dialog from opening.

enableSearch
boolean
true

Enables or disables the search functionality in the ColumnChooser dialog.

ignoreAccent
boolean
false

Enables diacritics-insensitive searching in the ColumnChooser.

selectedColumns
string[]
[ ]

Specifies an ordered list of column fields to display in the ColumnChooser.