Hi everyone,
I have been following this tutorial until 15min30 : https://www.youtube.com/watch?v=76RJyaoW0BQ
since this grid linked with Sharepoint List is exactly what I need.
However, instead of having my rows updated like in the video (still 15min30), it does not take into account the changes that were made and duplicates the lines where some changes happened.
To illustrate, I start with this : 
Then check "HE" while my app is running : 
And when I click on save, it duplicates "Material1" with its initial values:

Nevertheless, I did not change much the code from the tutorial :
The OnSelect that fills the collection colGridUpdates (with invisible button):
If(
IsBlank(
LookUp(
colGridUpdates,
ID = ThisItem.ID)
),
Collect(
colGridUpdates,
ThisItem)
);
UpdateIf(
colGridUpdates,
ID = ThisItem.ID,
{
Title: TextInputTitle.Value,
KE: CBKE.Checked,
HE: CBHE.Checked,
Grenze: Value(TextInputGrenze.Value),
Komponente:CBKomponente.Checked
}
);
The OnSelect on the Save Button :
Patch(
ListMaterials,
ShowColumns(
colGridUpdates,
"Title",
"KE",
"HE",
"Grenze",
"Komponente"
)
);
Notify("Grid saved", NotificationType.Success, 3000);
Clear(colGridUpdates);
Set(varReset, false);
Set(varReset, true);
If I understood well, on this Patch, ListMaterials should be updated based on colGridUpdates, with the columns I selected from it (in my case I wanted all the columns from colGridUpdates).
I feel stuck, thank you in advance to whom may help!