Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial commit * Copy Tab logic * Initial cell drag implementation * Initial cell editing implementation * Move editorContainer to the DataGrid component * Update src/utils/selectedCellUtils.ts Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com> * Cleanup * Remove masks components * Cancel copying * Remove edit check * Cleanup * Address comments * Move DragHandle to the parent DataGrid component * Do not paste on the copied cell * Remove unnecessary class * Fix copy/dragged cell styles * Address dragging issues * Pass down dragHandle component * Fix styles * Remove unused function * Move getNextPosition to selectedCellUtils * Use ref to get the latest draggedOverRowIdx * Revert EventBus changes * Fix type errors * Specify return type * Update changelog * Add selectedCellProps props Select cell only on update * Remove isMouted check * Add the row containing the selected cell if not included in the vertical range * Update src/DataGrid.tsx Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com> * Address comments * Set focus in useLayoutEffect and set tabIndex to -1 * setFocus -> shouldFocus * Address comments * Cleanup * use event.buttons * Better focus handling * Remove comments * Check valid selection * Even better focus implementation * Cleanup handleKeyDown usage * Remove drag cell borders Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com> Co-authored-by: Nicolas Stepien <stepien.nicolas@gmail.com>
- Loading branch information
1 parent
12c74f9
commit f94aa4e
Showing
24 changed files
with
547 additions
and
1,499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.