Page 1 of 1

Enabling arrow up and down keys in a subfile grid

Posted: Fri Feb 26, 2016 12:29 pm
by chs
Hi everyone

Is there a way to enable the arrow up and down keys to mark different subfile grid rows?

We would like to give the user the chance to navigate through the subfile grid with arrow up and down keys and press enter to edit a row.

How can we enable such a function? By default, the arrow keys are not working in a subfile grid.

Such a function would be very useful for us.

We use Internet Explorer 11 and Profound UI version 5.3.2.

Thank you very much for your answer in advance.

Christoph

Re: Enabling arrow up and down keys in a subfile grid

Posted: Fri Feb 26, 2016 8:45 pm
by Scott Klement
Sorry, this is not possible at this time.

If you wish to make a feature request for our developers to consider, e-mail support@profoundlogic.com

Re: Enabling arrow up and down keys in a subfile grid

Posted: Tue Mar 01, 2016 11:36 am
by chs
Thank you for your answer.

I have sent a feature request to support@profoundlogic.com

Re: Enabling arrow up and down keys in a subfile grid

Posted: Mon Jun 12, 2023 5:51 am
by MauHam
Good Morning, regarding this previous problem, after 7 years, is there now an acceptable solution to navigate the subfile grid with arrow keys, or was there no satisfying answer from the support team?

Re: Enabling arrow up and down keys in a subfile grid

Posted: Mon Jun 12, 2023 10:10 am
by chs
Hi there, so far this feature has not been implemented yet. It would be great to have such a feature.

I have sent the following feature request on March 1st, 2016 via email:

"Feature Request - Enabling arrow up and down keys in a subfile grid
Dear Profound Team,
Can you please implement the following feature in Profound UI:
We would like to give our users the chance to navigate through subfile grid records with arrow up and down keys.
At the moment, the arrow up and down keys cannot be used in a subfile grid.
Such a feature would be very useful for us.
We use Internet Explorer 11 and Profound UI version 5.3.2.
Thank you very much in advance."

I have received the following answer from Profound on March 1st, 2016:

"Thanks for writing in. I have created a support ticket for your feature request, #2443. The development team will evaluate your request to see if this can be accomplished."

Right now we use Profound version 6.21.0 and Microsoft Edge version 114.0.1823.43 (64 bit).

If you or the Profound team have any questions, feel free to ask.

Re: Enabling arrow up and down keys in a subfile grid

Posted: Tue Jul 11, 2023 5:13 am
by MauHam
So, after all, now I tried to do the Arrow-Navigation (first just in the Rows, not the Columns) with help of Javascript, but there is a issue I can't solve, maybe one of you have some ideas and can help me.

Issue is that if the grid is sorted differently,
or a filter is active, it doesn't work at all,
and I haven't figured out yet how to get the correct row even with filtered grids.

If its needed, here is the Function-Code from the onKeyDown event:

Code: Select all

function arrowKeys(event, element) 
{
  var grid             = getObj("Grid01").grid;
  var thisRow       = grid.getDataValue(row, "RECID");
  var key              = event.keyCode;
  var currentRow  = 0;

  currentRow = thisRow;
  
  grid.deselectRow(thisRow);
  
  if(key == 38)  // Up Arrow
  {
    if(thisRow != 1)
      {
        thisRow = --thisRow;
      }
  } 
  else if(key == 40)  // Down Arrow
  {
        thisRow = ++thisRow;
  }

  if (currentRow != thisRow)
  {
      currentRow = thisRow;
      grid.selectRow(currentRow);
  }
};