V S
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
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:
http://support.salientprocess.com/docs/enterprise/SingleSelect.html
Regards,
Stephen P.
V S
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
Hello Venkat,
Yes, that works too. I’m glad to hear you got it working.
Regards,
Stephen P.