cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Dropdown widget

AC_9552412
10-Marble

Dropdown widget

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

3 REPLIES 3
yhan
17-Peridot
(To:AC_9552412)

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

AC_9552412
10-Marble
(To:yhan)

Hi, @yhan 

 

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

yhan
17-Peridot
(To:AC_9552412)

Hi @AC_9552412,

 

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

 

Thanks,

/Yoyo

Top Tags