Hi,
When I select a row in the grid and then press on down and up arrow keys the respective row should be selected and selected change event should be fired.
Please suggest.
Thanks,
Kiran
Hello Kiran,
You can enable the activation option of the Selection feature to enable keyboard navigation. This will set the selected row when the activated row changes and will fire the rowSelectionChanged event.
You can see an example of this in the following jsFiddle I have created:
http://jsfiddle.net/ig_mharrington/67snt0gn/
If you have any further questions or concerns with this, please let me know.
Hi Michael,
The sample you shared works fine however for the version of infragistics we are using it is not working as expected.
IgniteUI Version - 20132.2364
Virtualization Enabled grid.
Attached the sample, where the up and arrow key press moves the scrollbars top and bottom but doesn't select the rows as expected by our requirement.
Could you please check with the sample attached?
Our production date is very near and we do not have that much time to upgrade to latest version of IgniteUI 14.1.
Is it possible to get some custom code which I can write in my application to achieve this feature?
Can we write any custom code to achieve this Up and Down arrow keys functionality with the existing IgniteUI version 20132.2364?
Hi Kiran,
It could be possible to handle this logic yourself. To achieve this, you can handle the keypress, keydown, etc. events and call the igGridSelection's selectRow and selectedRow methods to get and set the currently selected row. You may find more useful information on this in our API documentation here:
http://help.infragistics.com/jQuery/2013.2/ui.iggridselection#methods
Sure we will try to call the selectedrow event. But we are not familiar with binding Keyup and Keydown events for grid row.
Can you give us a sample to handle key up and key down events on grid rows?
You would handle the events through jQuery. You can find more information on using these events from jQuery's API here.