Results 1 to 10 of 14

Thread: Jumping over rows in an oCJGrid

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Posts
    1,039

    Default Jumping over rows in an oCJGrid

    In an oCJGrid, where only one column is edible, I need to jump over certain rows depending on the value in column 1

    I tried with code in Procedure OnRowChanged, but it didn’t work

    Code:
            Procedure OnRowChanged Integer iOldRow Integer iNewSelectedRow
                String sKund
                Get RowValue of oCJGridColumn1 iNewSelectedRow to sKund
    //            If (sKund<>'') Begin
    //                increment iNewSelectedRow   //has no effect
    //            End
                Forward Send OnRowChanged iOldRow iNewSelectedRow
    //            If (sKund<>'') Begin
    //                Send MoveDownRow  // gives error 4402Assert: OnComFocusChanging recursion
    //            End
            End_Procedure

    In the old grid, Item_Change worked in cases like this.

    How can that be done in the new grid?

    Bengt
    Last edited by Bengt; 12-May-2019 at 12:08 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •