Hi everyone,
I'm very new to this development. I would like to ask about how to develop a button that can select all checkbox inside the gallery.
Please help me
Solved! Go to Solution.
Okay I found the solution :
1. Insert a new input called "CheckBox"
2. Change CheckBoxOption Default property into Checkbox1.Value=true
Everything is done 🙂
Okay I found the solution :
1. Insert a new input called "CheckBox"
2. Change CheckBoxOption Default property into Checkbox1.Value=true
Everything is done 🙂
Hi @Anonymous ,
Do you want to make all the check boxes unchecked or checked in a gallery by clicking a button?
I've made a similar test for your reference:
1)set the checkbox's Default:
var
2)set the checked button's OnSelect:
Set(var,true)
3)set the Unchecked button's OnSelect:
Set(var,false)
Then, if you click the checked button, all the check boxes will be checked.
If you click the Unchecked button, all the check boxes will be Unchecked.
Best regards,
But at my side, this only makes all the checkbox visually checked. The OnCheck event won't be triggered. Would you mind sharing a way to use a button to trigger all the OnCheck events? Thanks!
Actually I'm using a "Select All Checkbox". To realize the visual effect, just use the method mentioned in the accepted solution. To "Select" all the items, use "ForAll(Gallery.AllItems,Collect(SelectionList,Item));".
Thanks. This thing works and checks all the checkboxes at a time. But after that, I want to delete the data attached with those checkboxes and it's not happening when all boxes are selected.
Simple, yet profound.
User | Count |
---|---|
161 | |
85 | |
68 | |
63 | |
61 |
User | Count |
---|---|
212 | |
146 | |
93 | |
81 | |
67 |