-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[DataGrid] Add tabNavigation prop to control tab navigation in the grid
#20286
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
Conversation
|
Deploy preview: https://deploy-preview-20286--material-ui-x.netlify.app/ Updated pages: Bundle size report
|
packages/x-data-grid-pro/src/tests/keyboard.DataGridPro.test.tsx
Outdated
Show resolved
Hide resolved
packages/x-data-grid/src/hooks/features/keyboardNavigation/useGridKeyboardNavigation.ts
Outdated
Show resolved
Hide resolved
packages/x-data-grid/src/hooks/features/keyboardNavigation/useGridKeyboardNavigation.ts
Outdated
Show resolved
Hide resolved
|
@mapache-salvaje I have updated the page to use "code snippet in PascalCase" style when referring to the grid. |
MBilalShafi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice addition 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to row editing, does it make sense with cell editing to put the subsequent cell in edit mode if Tabbing from an cell being edited (same for the header filter row), it'll be closer to tools like excel and save extra Enter key presses.
Screen.Recording.2025-11-13.at.15.23.24.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have checked the Numbers app and Google Sheets, and they have the same behavior that we have at the moment.
Hitting Tab while editing a cell will move to the next cell, but it will not be in edit mode.
You can, however, start typing to insert the data, same as in the grid.
mapache-salvaje
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some small style nitpicks here otherwise looks good!
Co-authored-by: mapache-salvaje <71297412+mapache-salvaje@users.noreply.github.com> Signed-off-by: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com>
|
Tears of joy when I got an email from GitHub telling me that the issue has been closed 🥹 |
…grid (mui#20286) Co-authored-by: mapache-salvaje <71297412+mapache-salvaje@users.noreply.github.com>
Closes #4658
Preview: https://deploy-preview-20286--material-ui-x.netlify.app/x/react-data-grid/accessibility/#tab-navigation