mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[Data Grid Premium - Cell Copy and paste] Copied content from cell doesnt mantain the sorting set in the data premium grid

Open roccodev92 opened this issue 1 year ago • 1 comments

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:

  1. Click the link found in the documentation: https://codesandbox.io/p/sandbox/optimistic-shaw-7w78pw?file=%2Fsrc%2FDemo.tsx

  2. 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

  3. Apply the ascending/descending sort in the column 'code'

  4. Select the cells ordered from column 'code' and copy with ctrl+c

  5. See the data copied in the ui: the copied content doesnt mantain the order set in the data grid

Your environment

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: data-grid-premium-copy-cell, cell copy and paste

roccodev92 avatar Feb 16 '24 22:02 roccodev92

You have created a support request under the "Priority Support" terms, which is a paid add-on to MUI X Premium ⏰. Please validate your support key using the link below:

https://tools-public.mui.com/prod/pages/jyhs86t?repo=mui-x&issueId=12099

Do not share your support key in this issue!

Priority Support is only provided to verified customers. Once you have verified your support key, we will remove the support: unknown label and add the support: priority label to this issue. Only then the time for the SLA will start counting.

github-actions[bot] avatar Feb 16 '24 22:02 github-actions[bot]

Duplicate of #12100, closing the issue, feel free to reopen if you have a priority support add-on, or we can follow up the discussion on the other issue.

MBilalShafi avatar Feb 19 '24 05:02 MBilalShafi

:warning: This issue has been closed. If you have a similar problem, please open a new issue and provide details about your specific problem. If you can provide additional information related to this topic that could help future readers, please feel free to leave a comment.

How did we do @roccodev92? Your experience with our support team matters to us. If you have a moment, please share your thoughts through our brief survey.

github-actions[bot] avatar Feb 19 '24 05:02 github-actions[bot]