Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: How to change active record and highlight active record

  1. #11
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,695
    This is a classic example of where some devs want the row highlighted and some don't. It used to highlight it and I was asked to remove it which i did.

    We probably now need an attribute to tell the grid to always highlight the active row.
    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

  2. #12
    Senior Member
    Join Date
    Jan 2014
    Posts
    348
    Hi Barry

    I have tried putting the code in both "Ready" and "Activate" delegate but I am still not seeing the active row highlighted when the page is first activated

    ///////////////////////////////////////////////////////////////
    // Event delegate for 'ready' event
    proc clock_records_list_ready()
    Lianja.get("clock_records.list").grid.activeRow=0
    endproc


    ////////////////////////////////////////////////////////////////
    // Event delegate for 'activate' event
    proc clock_records_list_activate()
    Lianja.get("clock_records.list").grid.activeRow=0
    endproc


    Your advice is much appreciated

    Thanks &

  3. #13
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,268
    Is the Grid readOnly?

  4. #14
    Senior Member
    Join Date
    Jan 2014
    Posts
    348
    Hi

    Yes, the "readonly" attribute is "True" in the Section of the "Clock_records" page

    Your advice is much appreciated

    Thanks & Best Regards

  5. #15
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,268
    I'll look into it.

Page 2 of 2 FirstFirst 12

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