Hi Guys,
Does anyone know how to do this, I wanted to edit the information and when I pressed the Add Transaction button the items should be displayed on the Gallery Table
My problem is, the items from Gallery coming from the data source.
@Big_S Can you clarify a bit,
Is it an Edit Form in the top. If so, what's its datasource?
Is it a Gallery in the bottom. If so, what's its datasource?
Could you explain a bit more on what exactly you want to happen when you Add Transaction button is pressed.
You can try patching the data into the Gallery data source and refresh the data source. If you can share a screenshot of Add Transaction code I can help you more in this topic.
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.
Hi @CNT ,
I used excel as data source for now, yes its a gallery everytime the Add Transaction button click the items will be displayed in the gallery
Hi @PG_WorXz10
here's my code
Patch(
RequestDetails,
LookUp(RequestDetails, Id = Gallery2.Selected.Id),
{
RequestId: Last(Requests).Id,
BusinessUnit: 'business-unit-dropdown_1'.SelectedText.Value,
Department: 'departmentt-dropdowm_1'.SelectedText.Value,
Program: 'program-dropdowm_1'.SelectedText.Value,
Project: 'projectt-dropdowm_1'.SelectedText.Value,
Activity: 'activity-dropdown_1'.SelectedText.Value,
ChartOfAccount: 'chartofaccount-dropdowm_1'.SelectedText.Value,
Amount: 'amount-input_1'.Text,
AccountCode:'account-code-label_1'.Text,
Status: "1"
}
)
@Big_S Would you please share the Gallery item property code ?
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.
Hi @PG_WorXz10
heres the code
Items Property
Filter(RequestDetails, Status = "1" && RequestId = _viewGallery2Details.Id)