• Heba Emara
    April 17, 2016 at 3:30 am #1611


    I have two single select controls, the second one should be filtered based on the selected value of the first one. The two controls are placed in a horizontal panel inside a coach view and Item lookup mode of both of them is “Items From Service”.

    In the configuration of the first one, I added the following code to  “On Change” event.


    Single_SelectSP is the ID of the second SingleSelect control.


    The second control is not filtered and coach is rendered on screen with different control ID “SSelect_div_4_1_2_1_3” instead of “Single_SelectSP”.

    How can I handle this scenario if control ID is not constant?

    Thanks in advance.



    Heba Emara



    SPARK Support
    April 18, 2016 at 7:07 am #1614


    The only thing I see in what you are doing is use of this as opposed to me in this line:  {$Single_SelectSP}.reloadServiceItems(this.getSelectedItem().value)

    I have attached a word document that has a silly example of what we call Cascading selects (which I believe is what you are attempting).  I think this might help you achieve the desired result.

    Let us know if you have any problems


    Heba Emara
    April 19, 2016 at 12:05 am #1625

    The solution is working fine.

    Thanks John for your support.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search