Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[data grid] Export GridRowReorderCell to help with customization #14113

Open
1 task done
genepaul opened this issue Aug 5, 2024 · 1 comment
Open
1 task done

[data grid] Export GridRowReorderCell to help with customization #14113

genepaul opened this issue Aug 5, 2024 · 1 comment
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/

Comments

@genepaul
Copy link
Contributor

genepaul commented Aug 5, 2024

Latest version

  • I have tested the 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 the GRID_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

@genepaul genepaul added new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 5, 2024
@michelengelen michelengelen added component: data grid This is the name of the generic UI component, not the React module! support: commercial Support request from paid users customization: extend Logic customizability feature: Reordering Related to the data grid Reordering feature support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/ labels Aug 6, 2024
@michelengelen michelengelen changed the title [DataGridPro] Export GridRowReorderCell to help with customization [data grid] Export GridRowReorderCell to help with customization Aug 6, 2024
@michelengelen
Copy link
Member

Hey @genepaul ... I'll add this to the board. 👍🏼

@github-project-automation github-project-automation bot moved this to 🆕 Needs refinement in MUI X Data Grid Aug 6, 2024
@michelengelen michelengelen removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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/
Projects
Status: 🆕 Needs refinement
Development

No branches or pull requests

2 participants