[data grid] Export GridRowReorderCell to help with customization #14113
Labels
component: data grid
This is the name of the generic UI component, not the React module!
customization: extend
Logic customizability
feature: Reordering
Related to the data grid Reordering feature
new feature
New feature or request
support: commercial
Support request from paid users
support: pro standard
Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/
Latest version
Summary
I submitted #14079 to export the GridRowReorderCell, but I'm not sure if that's the right way to do it and i'm getting errors. What I'm trying to accomplish is having something available to me similar to the GridCellCheckboxRenderer, or one of the other renderers like that so I can modify the
renderCell
of theGRID_REORDER_COL_DEF
and include custom content.Examples
I have a custom cell put together that works, but I have to reach into the data-grid exports to do it:
https://codesandbox.io/s/gracious-wave-srhd89?file=/src/Demo.tsx
Motivation
I have a requirement to show the row's priority in the reorder cell, and it seemed like the only way to do this was to modify the renderer of the reorder column. If there's a better way to do this, I'd be happy to hear it.
Search keywords: rowReordering custom cell
Order ID: 0332927583
The text was updated successfully, but these errors were encountered: