Following Shane Young's PowerApps Repeating Tables Like InfoPath Part 3, at about the 5:30 mark, he discusses Adding icons and code so that when you save a row, the Save and Delete icons disappear and an Edit icon displays.
When I save mine, the whole row disappears and is not saved. I have Bold the entries that are new.
Patch(
RequestCollection,
ThisItem,
{
PerDiemDate: dtePerDiemDate.SelectedDate,
Location: txtLocation.Text,
PerDiemRate: Value(txtPerDiemRate.Text),
JobName: cmbJobName.Selected.JobName,
Notes: txtNotes.Text,
TravelDay: drpTravelDay.Selected.Value,
Reimbursement: Value(lblReimbursementCalculated.Text),
CompanyHousing: drpCompanyHousing.Selected.Value,
CompanyCar: drpCompanyCar.Selected.Value,
ShowSaveButton: false
}
);
If(
EditPressed,
false,
Collect(
RequestCollection,
{
PerDiemDate: "",
Location: "",
PerDiemRate: 0,
JobName: "",
Notes: "",
TravelDay: "",
Reimbursement: 0,
CompanyHousing: "",
CompanyCar: "",
ShowSaveButton: true
}
)
);
UpdateContext({EditPressed: false})