Get a Jumpstart with our Sample Apps
Results 1 to 6 of 6

Thread: Cascading Lists - Child List does not update when navigating with Arrow Keys

  1. #1
    Member
    Real Name
    Joe Lavely
    Join Date
    Jun 2013
    Posts
    322

    Default Cascading Lists - Child List does not update when navigating with Arrow Keys

    I have a UX with a parent list and a child list, they are configured as cascading list as described here http://downloads.alphasoftware.com/V...transcript.htm

    This is a browser application.

    When navigating the parent list using a mouse to click on rows in the list, the child updates.

    But when using the up/down arrow keys to navigate the parent list, the child does not update.

    Same behavior in Chrome, IE and Firefox.

    I am using AA version 12.4.3.1 Build 3962, running Windows 10.

    Has anyone else run into this?

  2. #2
    "Certified" Alphaholic
    Real Name
    Larry Grupido
    Join Date
    May 2010
    Posts
    1,464

    Default Re: Cascading Lists - Child List does not update when navigating with Arrow Keys

    Not that it fixes the issue, but using the up/down keys is probably not firing the event that causes the child to update. (Probably the select event.)

    Is this an old list that recently broke or a brand new list that never worked?

  3. #3
    Member
    Real Name
    Joe Lavely
    Join Date
    Jun 2013
    Posts
    322

    Default Re: Cascading Lists - Child List does not update when navigating with Arrow Keys

    The select event in the parent list will fire an alert when navigating using the arrow keys.

    What event causes the child to update? I thought it was the onChange of the parent list control. If that is true, the child should update.

    This is a new list, and I even made a new UX with just the list controls in order to test.

    In this case the parent list returns the Primary Key, and in the child list the "Has Parent List" is checked, The argument used in the child list query is the value of the parent list control.

    I should mention that these list are based on mySQL tables.

    It works perfectly when clicking with the mouse on the parent list to select a row.

  4. #4
    "Certified" Alphaholic
    Real Name
    Larry Grupido
    Join Date
    May 2010
    Posts
    1,464

    Default Re: Cascading Lists - Child List does not update when navigating with Arrow Keys

    If you have already done that work AND if you have a UX that demonstrates the issue, you should send it in as a bug report.

    Include a description of the problem, the sample UX and samples of the tables w/data.

    But before you do, make sure you are using the latest Alpha version.

  5. #5
    Member
    Real Name
    Joe Lavely
    Join Date
    Jun 2013
    Posts
    322

    Default Re: Cascading Lists - Child List does not update when navigating with Arrow Keys

    My AA is set to check for new updates on launch, but it has not been alerting when there is a new version.

    I upgraded to the latest version, and the issue is still there.

    Bug report submitted

  6. #6
    Member
    Real Name
    Joe Lavely
    Join Date
    Jun 2013
    Posts
    322

    Default Re: Cascading Lists - Child List does not update when navigating with Arrow Keys

    I received 2 replies from Selwyn...

    the javascript for record navigate does not cause a list refresh because it was not designed to do this.

    you can fix this by editing the event for each of the buttons as follows

    {dialog.object}._listNavigateRecord('list_countries','first');
    {dialog.object}._listRefreshCascadingLists('list_countries');
    Then 30 minutes later...

    I have made a change so that now if you navigate by record and the list has dependent lists, the child lists are automatically refreshed.

    you don't have to add code yourself to the navigation buttons.

    this will be in the next update

    Awesome response.

Similar Threads

  1. multiple child lists from a single parent list
    By wenbaugh in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 11-24-2014, 12:12 AM
  2. List Navigation with Cascading Lists
    By Pizzadude in forum Mobile & Browser Applications
    Replies: 6
    Last Post: 10-12-2014, 06:32 PM
  3. slider control arrow keys
    By brad.lindsay69@gmail.com in forum Application Server Version 11 - Web/Browser Applications
    Replies: 3
    Last Post: 10-26-2012, 06:08 PM
  4. how to process arrow keys
    By jabastar in forum Alpha Five Version 10 - Desktop Applications
    Replies: 4
    Last Post: 01-10-2011, 11:30 PM
  5. possible to set arrow direction on cascading list?
    By Kellen Furness in forum Alpha Five Version 5
    Replies: 0
    Last Post: 03-16-2004, 10:46 AM

Posting Permissions

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