I have a gallery where checkboxes can be selected individually and a checkbox outside the gallery to select all.
Issue: When using OnVisable in the main screen, I'm unable to reset both inside and outside checkboxes. If I use the outside to select all, that is the only checkbox reset and all items inside the gallery remain checked. If I select the gallery items individually, the checkboxes are reset correctly.
Outside Checkbox:
OnCheck: UpdateContext({CheckCheckbox:true});ForAll(Collect(checkedRow,Gallery4.AllItems),ThisRecord)
OnUncheck: UpdateContext({CheckCheckbox:false});Clear(checkedRow)
Reset: AllCheckboxReset
Inside Checkbox:
Reset: ResetCheckbox
OnVisable (Main Screen):
UpdateContext({ResetCheckbox:false});
UpdateContext({ResetCheckbox:true});
UpdateContext({ResetSearch:false});
UpdateContext({ResetSearch:true});
UpdateContext({AllCheckboxReset:false});
UpdateContext({AllCheckboxReset:true});


Report
All responses (
Answers (