-
Notifications
You must be signed in to change notification settings - Fork 834
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
Tab/Enter Key event should move focus to next editable cell #2314
Comments
Hi @MalikSamiAwan , As of now, DataGrid does not support the AllowFocus functionality in Flutter DataGrid. Based on this, we can skip focusing on cells in the respective columns. This allows us to bypass the current cell focus, which in turn prevents the editing of the cell as you expected. We have considered your request as a feature and will implement it in one of our upcoming releases. During the planning stage of each release cycle, we review all open feature requests and prioritize them based on factors such as product vision, technological feasibility, and customer interest. We appreciate your patience and understanding in the meantime. You can track the progress of this request through the feedback link below: Feedback link: 66462 Additionally, you can enable editing based on key navigation using RowSelectionManager, but it does not allow skipping a cell as you mentioned. Please refer to the KB documentation for details on how to move to the next cell in edit mode when pressing the TAB key in Flutter DataTable: KB link: Move the next cell into edit Regards, |
Hi @abineshPalanisamy thanks for answering same for rows if b1 is readonly and c1 is editable can i achieve that programmatically Thankyou |
Hi @MalikSamiAwan , In SfDataGrid, all cells receive focus when navigating between them. Currently, it is not possible to restrict focus to specific columns or cell values. In your scenario, you need to skip focus for certain columns and jump directly to the next editable cell. To achieve this behavior, an allowFocus property would be useful. This property would enable restricting focus for specific cells, particularly read-only cells. When navigating using the keyboard, cells with allowFocus set to false would be skipped, allowing focus to jump directly to the next editable widget. At present, SfDataGrid does not support the allowFocus functionality. However, we have considered your request as a feature enhancement and plan to implement it in a future release. We appreciate your patience and understanding in the meantime. You can track the progress of this request through the feedback link shared earlier Regards, |
Hi @MalikSamiAwan, We suspect that the reported issue has been resolved at your end. Hence, we are closing this issue. If you need any further assistance, please reopen this. We are always happy to help. Regards, |
current tab key shift focus from left to right cell by cell and enter key from top to bottom cell by cell.
what would be the best solution if i want the tab key to move to next editable cell from left to right
and enter key to move to next editable cell from top to bottom
consider editable cells in rows are not place next to each other there could be readonly cell between columns are rows.
e.g attached image highlighted cells are editables
Thankyou!
The text was updated successfully, but these errors were encountered: