-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
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)
}}
/>
thomassmartinez, lbb00, benweinberg89, fujimogn, carlosvargas and 3 more