ComputedColumnsPanelTrigger API
API reference docs for the React ComputedColumnsPanelTrigger component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { ComputedColumnsPanelTrigger } from '@mui/x-data-grid-premium/components';
// or
import { ComputedColumnsPanelTrigger } from '@mui/x-data-grid-premium';Learn about the difference by reading this guide on minimizing bundle size.
A button that opens and closes the computed columns panel.
It renders the baseButton slot.
It renders nothing when computed columns are not available (the formula feature
is missing, or disableComputedColumns, disableFormulas or dataSource is set)
and while pivoting is active.
The
ref is forwarded to the root element.Source code
If you did not find the information in this page, consider having a look at the implementation of the component for more detail.