Fetch the repository succeeded.
Users can enable keyboard navigation between pages using the SetKeyboard
method of the GridClient
object:
var client = new GridClient<Order>(q => orderService.GetOrdersGridRows(columns, q), query, false, "ordersGrid", columns, locale)
.SetKeyboard(true);
The default value is false
.
These are the keys to be used:
It's possible to change the modifier key used for keyboard navigation using the SetModifierKey
method of the GridClient
object:
var client = new GridClient<Order>(q => orderService.GetOrdersGridRows(columns, q), query, false, "ordersGrid", columns, locale)
.SetKeyboard(true).SetModifierKey(ModifierKey.ShiftKey);
The parameter options of the SetModifierKey
method are:
ModifierKey.CtrlKey
(default value)ModifierKey.ShiftKey
ModifierKey.AltKey
ModifierKey.MetaKey
Keep in mind that the last 2 options can collide with the modifier keys of the browser. The recommended options are ModifierKey.CtrlKey
and ModifierKey.ShiftKey
.
Sign in for post a comment
Comment ( 0 )