Optional
alignOptional
cellClass name added to cells in this column.
Optional
colNumber of columns a cell should span.
Optional
descriptionThe tooltip text shown when the column header name is truncated.
Optional
disableIf true
, the column menu is disabled for this column.
Optional
disableIf true
, this column will not be included in exports.
Optional
disableIf true
, this column cannot be reordered.
Optional
displayDisplay mode for the cell:
Optional
filterableIf true
, the column is filterable.
Optional
filterAllows setting the filter operators for this column.
Optional
flexThe flex grow factor of the column. Must be a positive number.
Optional
getThe callback that generates a filtering function for a given quick filter value.
This function can return null
to skip filtering for this value and column.
Optional
getProvide an alternative comparator function for sorting.
Takes precedence over sortComparator
.
Optional
headerAlign column header content.
Optional
headerClass name added to the column header cell.
Optional
headerThe title displayed in the column header cell.
Optional
hideableIf false
, removes the option to hide this column.
Optional
hideIf true
, the grouping cells will not render the amount of descendants.
Optional
hideToggle the visibility of the sort icons.
Optional
leafThe field from which we want to render the leaves of the tree.
Do not have any effect when building the tree with the props.treeData
feature.
Optional
mainThe field from which we want to apply the sorting and the filtering for the grouping column.
It is only useful when props.rowGroupingColumnMode === "multiple"
to decide which grouping criteria should be used for sorting and filtering.
Do not have any effect when building the tree with the props.treeData
feature.
Optional
maxThe maximum width of the column in pixels.
Optional
minThe minimum width of the column in pixels.
Optional
pinnableIf false
, the menu items for column pinning menu will not be rendered.
Only available in DataGridPro.
TODO: Use module augmentation to move it to @mui/x-data-grid-pro
(need to modify how we handle column types default values).
Optional
renderOverride the component rendered as cell for this column.
Optional
renderOverride the component rendered in the column header cell.
Optional
renderAllows to render a component in the column header filter cell.
Object containing parameters for the renderer and inputRef
.
The element to be rendered.
Optional
resizableIf false
, disables resizing for this column.
Optional
rowFunction that returns a specific value to be used in row spanning.
Optional
sortableIf false
, disables sorting for this column.
Optional
sortA comparator function used to sort rows.
Optional
sortingThe order of the sorting sequence.
Optional
valueFormats the cell value before rendering.
Optional
valueFunction that returns specific data to render in the cell instead of using the field value.
Optional
valueFunction that takes the user-entered value and converts it to a value used internally.
Optional
widthThe width of the column in pixels.
Align cell content.