Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts

  • chrisquintana
    Participant

    Hi Guys,

    Any news about supporting Async Virtual Scrolling? Specifically, Angular HTTP promises.

    Thanks,

    Chris

    in reply to: Tabbing through jqxGrid Tabbing through jqxGrid #92901

    chrisquintana
    Participant

    Hi Peter,

    Thanks for replying.

    Inside the handlekeyboardnavigation, I’ve added a condition (see below) where grid is the jqxGrid element.

    var key = event.charCode ? event.charCode : event.keyCode ? event.keyCode : 0;
    var grid = $('#jqxGrid');
    if($(event.target).closest(grid).length === 0) return false;
    
    if (key == 9) {
      // TODO: handlekey logic
    }

    This works fine when all of the cells are editable. But I’m having an issue, from an editable to non-editable and to an editable cell and you ‘tab’ to an editable cell, the cursor will jump to the address bar instead of that next cell. I debug it, and saw that the event.target and it is holding the DOM of <body> instead of the grid. So, I’m not sure why the ‘tab’ event is raised by the <body> instead of the grid, when you start tabbing from an editable to non-editable and to an editable cell? And there is also an issue where I pressed ‘tab’ key once, it raised the event multiple times.

    Thanks,

    Chris

    • This reply was modified 5 years, 9 months ago by  chrisquintana.
    • This reply was modified 5 years, 9 months ago by  chrisquintana.
    in reply to: Tabbing through jqxGrid Tabbing through jqxGrid #92870

    chrisquintana
    Participant

    Hi,

    I got my handlekeyboardnavigation up and running. Although, there is another issue that I’m encountering. Let’s say, I am using jqxWindow, I have 2 windows: 1) Has a grid (w/c it has the handlekeyboardnavigation event) 2) Has a simple form (first name, last name fields). I opened the 1st window, do some stuff on the grid, then close the window. And now I opened the 2nd window, do some stuff again, but when I press the ‘tab’ key, it triggers the handlekeyboardnavigationof the 1st window.

    Need help on how to resolve this issue. By the way, the I’m using a SPA. so the 1st and 2nd windows are in the same instance.

    Thanks,

    Chris

    in reply to: Tabbing through jqxGrid Tabbing through jqxGrid #92837

    chrisquintana
    Participant

    Hi Hristo,

    The handlekeyboardnavigationevent fixed my problem with the tabbing through cells. Now I have another question, is there a way to know the grid’s Id inside the handlekeyboardnavigation event?

    Thanks,

    Chris

    in reply to: Tabbing through jqxGrid Tabbing through jqxGrid #92799

    chrisquintana
    Participant

    Hi Hristo,

    Thanks for the reply. Well, I can use the handlekeyboardnavigation event, but is there any easier way to fix this, because I have other grids that had the same dynamic editable capabilities? One thing I noticed when I tab through the cells from editable to uneditable, the cursor is getting lost and ended up at the address bar.

    Thanks,

    Chris

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