ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
how to set focus on awesome grid using hotkey
Title:
B
I
{code}
?
Hello How to set accesskey for awesome grid ? (means when user press alt+g, system set focus on awesome grid)
Save Changes
Cancel
asked at 19 Dec 2014
Answers
B
I
{code}
?
I presume this is a follow up question for http://aspnetawesome.com/forum/question/714/awesome-grid-add-keyboard-navigation well, continuing from that answer you can also add this script on document ready: $(document).on('keydown', function (e) { if (e.altKey && e.which == 71)// alt + g { $('.keynav .awe-row').first().focus(); } }); this will select the first row of the first grid with css class keynav, I will also edit the answer on the question mentioned above so you'll have there a complete solution
Save Changes
Cancel
Omu
answered at 19 Dec 2014
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK