04-04-2023
01:20 PM
- last edited on
05-24-2023
11:21 AM
by
JackLacava
I created a combo box in a dashboard and the combo box is associated with a parameter that provides a considerable list of elements for selection. The user would like to have a button to clear all the selected elements as needed.
Would you know of any alternative to clear the selected elements from the combo box?
Thank you for all the help.
Solved! Go to Solution.
04-05-2023 05:20 AM
You can do it with a simple dashboard extender business rule.
04-05-2023 05:20 AM
You can do it with a simple dashboard extender business rule.
04-05-2023 11:54 AM
I agree but I tried and it is not working. the below is the code in the ComponentSelectionChanged not sure what am missing. IN the below code I am passing 2 parameters one is the ComboBox Name and the other is the empty string.
selectionChangedTaskResult.ChangeCustomSubstVarsInDashboard = True
selectionChangedTaskResult.ModifiedCustomSubstVars.Add("cb_CC","")
04-05-2023 11:59 AM
Did you return the selectionChangedTaskResult at the end?
Did you refresh the dashboards containing the drop-down boxes?
04-05-2023 12:01 PM
Yes Return selectionChangedTaskResult and I did refresh.
04-05-2023 12:03 PM
I created a Button and passed the Extender rule
04-05-2023 12:30 PM
Is there a default specified for the parameter?
04-05-2023 01:02 PM
Yes I tried with & w/o as well.
04-05-2023 01:03 PM
It is a mutiselect ComboBox
04-05-2023 08:30 PM
I found the issue. I was passing the COmbobox Name Vs Param Name once I pass it is working. Thanks.