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

Support for Multi-Cell Select and Copy-Paste in React Data Grid #3609

Open
AvyukthReddy opened this issue Sep 25, 2024 · 1 comment
Open

Comments

@AvyukthReddy
Copy link

Feature:

  • Multi-Cell Select: The ability to select multiple cells at once, similar to how you can in spreadsheet applications like Excel.
  • Copy-Paste: The ability to copy the selected cells and paste them into another location within the grid or into an external application like Excel.

Use case:

Bulk editing grid data.

Proposed solution:

We can create a prop cellRangeSelection to handle the selection and copy-paste actions. Here’s an example of how you might set it up (already available in legacy versions of https://github.com/adazzle/react-data-grid):

<DataGrid
cellRangeSelection={{
onStart: (args) => console.log('Selection started:', args),
onUpdate: (args) => console.log('Selection updated:', args),
onComplete: (args) => console.log('Selection completed:', args)
}}
/>

@softmarshmallow
Copy link

this is something you're gonna have to implement yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants