I have 3 gallery objects, each of which represents a level of several SharePoint lists depending on the selected entry. The Items of the first gallery (labeldruckAuftragGallery) is set by
GroupBy(
AddColumns(
IECC_TypenschildAuftragsliste;
_etikettNumber;
Typenschildnummer
);
cr4a2_auftragsnummer;
Etiketten
)
the second gallery-Items are
AddColumns(
GroupBy(
AddColumns(
Filter(
IECC_TypenschildAuftragsliste;
Auftragsnummer = labeldruckAuftragGallery.Selected.cr4a2_auftragsnummer
);
_etikettNumber;
Typenschildnummer.LINS_Typenschild;
_isSingleSelected;
true
);
_etikettNumber;
resultTable
);
_groupIsSelected;
true
)
The third gallery shows the resultTable-Data.
This pretty solution works, but i have no solution to handle the checkboxes.
However, the second and third galleries have checkboxes to select entities for future. see above. If I replace the Items property of the second/third gallery with a collection that is created in the OnSelect event of the first gallery, the galleries are no longer displayed with the correct values ββor are not displayed dependably.
As an example, i create the following collection in the OnSelect-Event and set it to the Items-Property of the second gallery.
ClearCollect(
FilteredOrderLabels;
AddColumns(
labeldruckAuftragGallery.Selected.Etiketten;
_etikettNumber2;
Typenschildnummer.LINS_Typenschild;
_isSingleSelected;
true;
_groupSelected;
true
)
)
I prefer the second solution, for updating and handling the checkboxes, but why isn't it working properly?
Thanks in advance for your help