Skip to main content
11-Garnet
May 7, 2021
Question

Dropdown widget

  • May 7, 2021
  • 1 reply
  • 1502 views

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

1 reply

17-Peridot
May 10, 2021

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

11-Garnet
May 11, 2021

Hi, @yhan 

 

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

17-Peridot
May 12, 2021

Hi @AC_9552412,

 

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

 

Thanks,

/Yoyo