Results 1 to 4 of 4

Thread: Set Grid column focus

  1. #1
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,384

    Set Grid column focus

    Hi all

    I have a screen that has a pre-populated grid of data for the user.
    They are loaded from another table as insert grid buffer records. All works fine

    but.....the cursor is on the last grid row

    Does anyone know of a way to make a screens focus start in a pre-populated grid and the 3rd column in the grid. 1 -2 are disabled

    This works, but I need the 3rd column
    Get Grid Row(FC Grid, "1")

    A simple solution would be to make the 1st column the input column, but if I can jump to a specific column.....great

    Thanks

    John
    Last edited by johndanter; 12-05-2019 at 08:28 AM.
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  2. #2
    It is going to the last row because of the insert grid buffer system function . If you debug you will notice , once the grid buffer ER is done in whichever event, after that event is done , then for every row inserted , it fires the row is entered , row is exited , row is entered and so on and then the focus is on the last line where row is entered but row has not been exited yet . If there are 15 rows it will run for all rows and focus will be on 15th row .

    There is a system function change row selection and that can help . You can provide the row # as 1 , and change row selection will work and will always highlight and blink on the first editable grid column in the row .

  3. #3
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,384
    Thanks for you reply, but I do that anyway (Get Grid Row(FC Grid, "1")
    And that works fine. I can get the cursor to go back to the first line, that's not the issue

    The issue is I need to the cursor to jump to a specific column

    It's column focus I'm after, not row focus
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  4. #4
    Member
    Join Date
    Feb 2001
    Location
    UK
    Posts
    77
    Hi John,

    How about creating a dummy input column on the left your actual column and then hiding the dummy column just before the grid is displayed?

    I think I did something similar in the past which worked.

    Cheers,

    Neal
    Last edited by Neal Scarr; 12-09-2019 at 01:33 PM.
    Neal Scarr
    QSoftware Global Limited

    XE SP.24 to E9.2 TR 9.2.0.2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company and, or Oracle.