• V S
    January 24, 2018 at 1:13 pm #4946

    Hi,

    I have 2 drop down’s(Parent/Child). Based on the values in the Parent drop down, The values in the child drop-down should be dynamically selected. Similar to country/state drop down scenario, I’m looking for some suggestion on how to implement it using SPARK UI toolkit. I’m looking for how to pass the selected value from the first drop down to the 2nd Ajax service.

    Much Appreciate your help.

     

    Thank you,

    VS.

    SPARK Support
    January 24, 2018 at 3:48 pm #4947

    Hello Venkata,

    Please see the Single Select control article and refer to Example 4 for Items From Service:

    https://salientprocess.zendesk.com/hc/en-us/articles/206387757-Single-Select

    Please see the Single Select JS doc for the setServiceInputData() method:

    https://support.salientprocess.com/docs/enterprise/SingleSelect.html

    Regards,

    Stephen P.

    V S
    January 25, 2018 at 6:03 am #4949

    Thanks Stephen,

    On further research, I’m able to find the js method to pre populate the values in the child drop down

    Parent drop down Onload Event:  ${controlID}.reloadServiceItems( me.getSelectedItem());

    Thank you very much.

    Venkat-

     

    SPARK Support
    January 25, 2018 at 1:49 pm #4953

    Hello Venkat,

    Yes, that works too.  I’m glad to hear you got it working.

    Regards,

    Stephen P.

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

You must be logged in to reply to this topic.

Start typing and press Enter to search