on 12-22-2016 8:16 PM
Hello
We have checkbox group assigned with a datasource and using All Member to display All values so it looks like this :
When we do selection of other members, ALL is still selected and the filtering doesnt take place until we manually go and uncheck ALL, which increases one more extra click for users. We have a clear filter option already written which taken the default ALL selection, but would be better if users select any other member ALL should get deselected automatically.
Any suggestion ?
Thank you
Piyush
Hi Poovarasan,
Thank you for your response, its still not working. 😞
Any clue?
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piyush,
Are you getting any error or simply nothing.
Can you use an alert in design studio in the if class of that code and check if the script is working when you select "All" value?
If it is not working then check value of "All" selection using Alert and use it in if class condition.
Thanks,
Poovarasan
Hi Piyush,
In the if statement and pass null value to remove selections when all is selected and use set selected value to set selection.
if(CHECKBOXGROUP_1.getSelectedValues()[0] == "All")
{
CHECKBOXGROUP_1.setSelectedValues("");
CHECKBOXGROUP_1.setSelectedValues("All");
}
Then set filter it will work.
Thanks,
Poovarasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.