Hi Community,
I have a problem, hope you can help me. I have a collection that is "ColecciónReactivación", (When you click in the botton "Collecction" the gallery going to show you, all the data, as you can see in the pic1) ,a gallery named "Gallery3_2", a checkbox inside the gallery "CheckBox1_2" and a checkbox outside the gallery named "CheckBox3", also a botton "Actualizar" (Here, in this botton, I select first the items in the gallery and then click in this botton to update the data with the diferents filters that I have, as you can see in the pic2) and a botton "Borrar" (Here it's similar like the botton "Actualizar", the different it's that going to delete all the items that I'll select).
Pic1

Pic2

OnVisible - Screen
ClearCollect(ResultadoReactivado; {Result: "-Seleccionar-"});;
Collect(ResultadoReactivado; Distinct(Reactivaciones; Resultado));;
ClearCollect(Supervisor2; {Result: "-Seleccionar-"});;
Collect(Supervisor2; Distinct('Responsable - Asesores'; Responsable2))
Botton Collection - OnSelect.
ClearCollect(ColecciónREACT; AddColumns(Reactivaciones; "Seleccionado"; false))
Gallery3_2.Items
Search(
Filter(
ColecciónREACT;
If(Dropdown3_7.Selected.Result = "-Seleccionar-";
true;
Resultado = Dropdown3_7.Selected.Result
)
);
Searchbox_2.Text;
"Responsable";
"Responsable2";
"Title"
)
Gallery3_2.TemplateFill
If(ThisItem.Seleccionado; RGBA(255;211;0;100);Transparent)
CheckBox1_2.OnCheck
Patch(ColecciónREACT; ThisItem; {Seleccionado:true})
CheckBox1_2.OnUnCheck
Patch(ColecciónREACT; ThisItem; {Seleccionado:false})
CheckBox1_2.Default
ThisItem.Seleccionado
Also I have an accountant, that will show me how many items I'm selecting.
Pic3

HtmlText1_2.HtmlText
"<b>Seleccionado: </b>" & CountRows(Filter(ColecciónREACT; Seleccionado))
So here it's where I would like to solve my problem, I would like to select all the items of my gallery using my CheckBox3, also metion you that if a filter my gallery I will select just only the filter items. For example, DataBase in my gallery its just only 20, so if I filter the 20 items for 5, my CheckBox, will filter only the 5 and not the 20.
Hope you can help me.
Best regards.