Requirements: When the user click on data(gallery) CheckBox the main test CheckBox is on UnCheck, when it is on Check then the data CheckBox is on UnCheck.
Firstly need to have a SharePoint list “Project” to connect with Power apps
- Take a blank Canvas app, provide a name for the application
- Add CheckBox1-
- OnCheck Property:- Set(Varcheck,true)
- OnUnCheck Property:- Set(Varcheck,false)
- Add CheckBox2 inside the Gallery-
- OnUnCheck Property:- UpdateContext({Check2:false})
- Reset Property:- checkVar
- Add CheckBox1-
- CheckBox1 is on UnCheck when the gallery CheckBox are on Check
- After making it Check the gallery CheckBox become UnCheck CheckBox