Guys,
I am duplicating the same grid in 2 different pages.
First page grid with few columns.
Second page *SAME GRID* but with different columns of the same sharepoint list!
When I save in 2nd page I don´t know why but sometimes it clears my dropdownmenu and save empty in SP.
here is the formula:
TEXT:
Patch(
'test fernando',
ShowColumns(
colGridUpdates,
"Category",
"kpi_name",
"planejado",
"Units",
"Main_Team",
"ID"
)
);
Notify("Updates Saved Successfully!", NotificationType.Success, 3000);
Clear(colGridUpdates);
Set(varReset, false);
Set(varReset, true);
Also have this formula in a "hidden button", each field of the grid has a "ON CHANGE" press this "Hidden button"...not sure if will help but:
text:
If(
IsBlank(
LookUp(
colGridUpdates,
ID = ThisItem.ID
)
),
Collect(
colGridUpdates,
ThisItem
)
);
UpdateIf(
colGridUpdates,
ID = ThisItem.ID,
{
Category: ddpcat.Selected,
kpi_name: txtkpi.Value,
planned: txtplan.Value,
Units: DropdownCanvas2.Selected,
main_team: {Value: "Chartering"}
}
)
Basically this is the GRID in page 1 (contains some fields)
and the SAME GRID in page 2, with more fields and some fields from page 1: