3

hi i am using jqgrid and want to do something like if i set multiselect:true and also set keyboard navigation. then my grid should work both functionality. Can any one tell me how to do that. Thanks

JigneshMistry
  • 111
  • 12

1 Answers1

3

jqGrid have till now very restricted support of the keyboard navigation. The current implementation of bindKeys don't support multiselect:true option.

One possible implementation of bindKeys which supports multiselect:true I posed in the answer. I can warn you that the suggestion solution was only quick & dirty way to have keyboard support in case of multiselect:true. The better would be to use some key like Space key to select the row and use Up and Down to change the focus only without selection of the rows. One could use ui-state-focus and ui-state-hover to mark the row which has the focus instead of selection the row.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798