Variable columnMenuAtomConst

columnMenuAtom: PrimitiveAtom<null | {
    anchorEl: undefined | null | Element | ((element: Element) => Element);
    column: ColumnConfig;
}> & WithInitialValue<null | {
    anchorEl: undefined | null | Element | ((element: Element) => Element);
    column: ColumnConfig;
}> = ...

Open table column menu. Set to null to close.

Example

Basic usage:

const openColumnMenu = useSetAtom(columnMenuAtom, projectScope);
openColumnMenu({ column, anchorEl: ... });

Example

Close:

openColumnMenu(null)

Generated using TypeDoc