Skip to main content
May 7, 2021 9:36 AM UTC
Question

Dropdown widget

Hi, how can you clear the selected data from a dropdown with an external button?

3 replies

May 10, 2021 3:36 AM UTC

Hi @AC_9552412,

 

You can try: 

1. Bind external button event/service to SetGlobalSessionBooleanValue

2. Bind the parameter value from GetGlobalSessionValue to ClearSelectionItem of the drop-down widget

so that when the user clicks the button, it can pass the clear selection command to the drop-down widget.

 

Thanks,

/Yoyo

May 11, 2021 9:30 AM UTC

Hi, @yhan 

 

the option to clearSelectionItem is only allowed if the dropdown is not multiselection, how can it be done with a multiselection?

May 12, 2021 6:09 AM UTC

Hi @AC_9552412,

 

Please check if PTC article CS337514  can achieve your business needs.

 

Thanks,

/Yoyo