Results 1 to 6 of 6

Thread: grid section change column

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Location
    Netherlands, Middelburg
    Posts
    12

    grid section change column

    As a vfp programmer i had a methode wich was called after a grid column change. in lianja 5.5 the only way to mimic this, is to call a function in the column validation.
    is there a way to use a methode to write code after a column change in a grid section has occured?

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,030
    You can use the interactiveChange event in the grid.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Junior Member
    Join Date
    Jan 2014
    Location
    Netherlands, Middelburg
    Posts
    12
    Hi Barry,

    the interactivechange is not a delegate in the grid section??

    interactivechange: Supported by
    Form Section Fields, Canvas Section Advanced Controls

  4. #4
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,030
    Ah yes you are right.

    It is actually in the code for the grid but not exposed as a section delegate just a custom grid.

    I'll add that in for 5.6.

    I've added grid delegates for "Interactive Change" and "Row/Col Change". The latter is called when a cell is selected. The "Interactive Change" after a cell is edited.
    Last edited by barrymavin; 2020-11-27 at 19:08.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  5. #5
    Junior Member
    Join Date
    Jan 2014
    Location
    Netherlands, Middelburg
    Posts
    12
    Hi Barry,

    many thx, and if it is not to much work can you make 2 types; before and after rowcolchange, this makes total control over the grid much easier

  6. #6
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,030
    Hi Leon,

    Thats what they do.

    I've added grid delegates for "Interactive Change" after a cell is edited. and "Row/Col Change" which is called when a cell is selected (before being edited).
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us