Enabling arrow up and down keys in a subfile grid

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
chs
Profound User
Posts: 53
Joined: Tue Jan 27, 2015 8:13 am
First Name: Christoph
Last Name: Seitz
Company Name: Waser + Co. AG
Phone: +41 44 94 74 341
Address 1: Erlenwiesenstrasse 2
City: Volketswil
State / Province: Outside Canada/USA
Zip / Postal Code: 8604
Country: Switzerland
Contact:

Enabling arrow up and down keys in a subfile grid

Post 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
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

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

Post 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
chs
Profound User
Posts: 53
Joined: Tue Jan 27, 2015 8:13 am
First Name: Christoph
Last Name: Seitz
Company Name: Waser + Co. AG
Phone: +41 44 94 74 341
Address 1: Erlenwiesenstrasse 2
City: Volketswil
State / Province: Outside Canada/USA
Zip / Postal Code: 8604
Country: Switzerland
Contact:

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

Post by chs »

Thank you for your answer.

I have sent a feature request to support@profoundlogic.com
MauHam
New User
Posts: 2
Joined: Mon Jun 12, 2023 5:43 am
First Name: Maurice
Last Name: Hammes
Company Name: Bohle AG
Country: Germany
Contact:

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

Post 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?
chs
Profound User
Posts: 53
Joined: Tue Jan 27, 2015 8:13 am
First Name: Christoph
Last Name: Seitz
Company Name: Waser + Co. AG
Phone: +41 44 94 74 341
Address 1: Erlenwiesenstrasse 2
City: Volketswil
State / Province: Outside Canada/USA
Zip / Postal Code: 8604
Country: Switzerland
Contact:

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

Post 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.
MauHam
New User
Posts: 2
Joined: Mon Jun 12, 2023 5:43 am
First Name: Maurice
Last Name: Hammes
Company Name: Bohle AG
Country: Germany
Contact:

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

Post 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);
  }
};
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests