jQWidgets Forums

jQuery UI Widgets Forums Angular Angular- handlekeyboardnavigation

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 4 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Angular- handlekeyboardnavigation #112809

    Kavya
    Participant

    Hello,

    I want to handle short cut keys for jqxgrid.
    I have used handlekeyboardnavigation.

    handlekeyboardnavigation(event: any) {
    var key = event.charCode ? event.charCode : event.keyCode ? event.keyCode : 0;
    if ((key == 86) && event.ctrlKey == true) {
    let selindex = this.aGrid.getselectedrowindex();
    }
    }

    when I try to access aGrid (jqxgrid) inside handlekeyboardnavigation, aGrid shows as undefined.
    How do I access the jqxgrid?

    Thanks

    Angular- handlekeyboardnavigation #112813

    Hristo
    Participant

    Hello Kavya,

    Could you provide us with one simplified example that demonstrates your case?
    You could use some of our stackblitz demos as a base.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.