Interface ColumnVisibilityProps<DataType>

Type Parameters

Hierarchy

Properties

defaultValues?: {
    key: KeyLiteralType<DataType>;
    title: string;
}[]

List of columns to display in the list.

defaultVisibleHeaders?: KeyLiteralType<DataType>[]

List of column keys that are visible by default.

enabled?: boolean
onVisibilityChange?: ((collection: KeyLiteralType<DataType>[]) => void)

Type declaration

    • (collection: KeyLiteralType<DataType>[]): void
    • Fires an event when visibility event finishes.

      Returns

      Parameters

      • collection: KeyLiteralType<DataType>[]

        Collection of column keys that are retrieved when visibility event occurs.

      Returns void

Generated using TypeDoc