[Data Grid Premium - Cell Copy and paste] Copied content from cell doesnt mantain the sorting set in the data premium grid #12099
Labels
component: data grid
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
support: commercial
Support request from paid users
support: unknown
Support request type not verified yet. Head to https://tools-public.mui.com/prod/pages/jyhs86t
The problem in depth
Hello,
I am experiencing a problem in the copy and paste functionality applied to the cell selection in the premium data grid.
Description:
I select cell values in a column after sorting them ascending or descending. I copy with ctrl c.
Expected result:
The copy of cell values with the selected order in the data grid.
Current result:
The copy of cell values does not respect the order set in the data grid for the specific column.
Steps to reproduce the bug:
Click the link found in the documentation: https://codesandbox.io/p/sandbox/optimistic-shaw-7w78pw?file=%2Fsrc%2FDemo.tsx
In the file Demo.tsx - after the sign in into codesandbox- paste the code from the attachment:
issue_data-grid-premium-copy-and-paste.txt
Apply the ascending/descending sort in the column 'code'
Select the cells ordered from column 'code' and copy with ctrl+c
See the data copied in the ui: the copied content doesnt mantain the order set in the data grid
Your environment
`npx @mui/envinfo`
Search keywords: data-grid-premium-copy-cell, cell copy and paste
The text was updated successfully, but these errors were encountered: