-
Notifications
You must be signed in to change notification settings - Fork 131
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
Add keyboard navigation of the grid #32
Comments
I will add the up and down events to move between pages. |
Maybe:
|
This feature will require .Net Core 3.1 because it's necessary to use event's propagation stop. I will add a new branch for .Net Core 3.1 support. |
there is a new commit in the branch https://github.com/gustavnavar/Grid.Blazor/tree/net-core-3.1 including the keyboard navigation. But no nuget package published yet. |
Would you consider publishing the 3.1 version as a Beta NuGet package? Is your intention to replace the 3.0 version once 3.1 is fully released by Microsoft? |
My intention is to publish a preview of the 3.1 version today or tomorrow. And I don't think that I will produce any other update to the version 3.0 |
Nuget packages implementing this changes has been released. They are for .Net Core 3.1-Preview3
|
May I suggest one improvement that I think would really help? If the ClientGrid is marked as Current behaviour
This still requires a swapping between the keyboard->mouse->keyboard. I guess there is a choice in how this should be implemented:
The concern would be if the automatic behaviour started to override other expected behaviour.... |
GridBlazor 1.3.2 supports the configuration to automatically select the first row when a page loads. There is a second parameter of the |
I have issue with Left and Right arrows for page navigation. I have more columns on grid that it can fit on screen. With that, if i use left or right arrows, page scrolls to left or right without realizing page control also changes to left or right. I have added ctrl qualifier to navigate pages. |
You should be able to create a pull request, it is not blocked. |
The new version of GridBlazor package (1.3.3) implements the following keyboard navigation:
|
This is low priority, but may I suggest using another sticky than [Ctrl], or provide the ability to override the bindings?
|
GridBlazor 1.3.6 allows to change the modifier key used for keyboard navigation using the
The parameter options of the
The last 2 options can collide with the modifier keys of the browser. The recommended options are |
Keyboard navigation currently has an impact on the grid behavior just after loading it. I someone want to leave his/her opinion, just add a comment on #63 |
Versions before GridBlazor 1.3.9 had the keyboard navigation enabled by default. This feature requires to focus on the grid element, but it can create problems when used on pages with 2 or more grids. As a consequence, starting with version 1.3.9 it has to be explicitly configured for each grid that requires keyboard navigation. Users can enable keyboard navigation between pages using the var client = new GridClient<Order>( ... ).SetKeyboard(true); The parameter default value is |
* Update documentation * Add CRUD support * Add Guid foreign keys with CRUD * Update CRUD documentation * Add ability to change the page size * Add ability to change the page size * Add keyboard navigation of the grid (#32) * Grouping error when column value is null (#41) * Improvements to filtering (#35) * Update documentation 3.1 * Update documentation 3.1 * Fixed Razor compilation errors when using .NET Core 3.1 * Add Css classes override for most important grid elements * Added HasConstraint property to GridColumnBase * Reset cached items count value when collection changes * Fix gridblazor.min.css issue * Fix compilation error in more components * Fix drag error on Firefox and Edge (#41) * Group by property, then sort groups by expression (#33) * Group by property, then sort groups by expression (#33) * Add HasConstraint property to GridColumn for MVC * Provide overloaded RenderComponentAs() with async callbacks(#38) * Update documentation * Upgrade to .Net Core 3.1 * Fix issue when collapsing a group (#50) * Use partial classes for razor pages * Update documentation * Update documentation * Update documentation * updated readme * Changed page navigation to ctrl +[Right/Left Arrow key] instead of just Right/Left Arrow keys * Updated Documentation for Keyboard Navigation commands * Added Ctrl requirement for Home and End keys to navigate to first and last pages respectively * Revert "updated readme" This reverts commit 8dfefac. * Added multi select capability * added vscode directory to gitignore * Updated documentation * Added Selected Items propery * updated documentation * Add clear all filters functionality * Update localization documentation * Add multiselectable and Norwegian translation * Fix bug #56 * Change keyboard modifier key * Change keyboard modifier key * Added type="button" to all <button> with no specified type to avoid making them a type="submit" buttons * Remove Newtonsoft.Json dependency * Update documentation * Fix issue #61 and new GridMvcCore string resources * Update package versions * Correct parameter assignation * Modify the ChangeBool to reflect changes to value false in variable * Set Id of the new ColumnOrderValue to the max Id plus 1 * Fix issue #63 * Update documentation * Add list filters * Add filters on hidden columns and grid events * Added Turkish Language * Added Turkish Language * Add filters on hidden columns and grid events * Validate that FieldName is not null in case not mapped column exist * Add Guid filter * Validate that FieldName is not null in case not mapped column exist * Update documentation * Add method ReadonlyOnUpdate to columns * Added GridCellCssClass Added GridItemsCountCssClass * Hide ReadonlyOnUpdate columns on create page * Update documentation * Add NotEqual filter (#79) * Fix GridMvcCore Ajax currentPage value type * Update Blazor demos * Update Blazor demos * Hide other filter widget when opening a filter #81 * ReadOnUpdate fields should not be hidden on Create. * Consider case when both ReadOnlyOnUpdate and CrudHidden are used. * Blazor WA 3.2.0 Preview 1 support * Update GridBlazor version * Allow ICustomGridComponent<> type argument to be interface of Grid data type. Addresses issue #53 * Minor fixes for GridBlazor filters and GridMvc pager * Fix isssue #89 * Fix isssue #87 * Update GridBlazor in MVC demo * Add Bootstrap 3.x css * Add Czech translation * Add DateTime picker and custom comparer sort * Add nested CRUD * punctual crud visibility added punctual visibility for each CRUD mode. Co-authored-by: Gustavo Navarro <30131949+gustavnavar@users.noreply.github.com> Co-authored-by: Serhii Yolkin <serhii.yolkin@gmail.com> Co-authored-by: Deval Ringwala <ringwala@lucasware.com> Co-authored-by: Ricardo Pacheco <ricardo.pacheco.roldan@gmail.com> Co-authored-by: İSMAİL KÖSE <kyzaghan@ismailkose.com.tr> Co-authored-by: timbze <35117769+timbze@users.noreply.github.com>
Many of our users are very keyboard orientated and have mentioned that it would be nice to be able to use the up and down arrows to navigate the grid. Is that possible?
The text was updated successfully, but these errors were encountered: