Hi all,
I have a gallery that loads more than 100 items. When a user selects an item in the gallery, it displays all the details for that item in a form where they can modify the information for the currently selected record and Save.
If the user is on any of the first 100 items and they click the save button, the gallery stays focused on the current item they have selected. All good. However, if they scroll down and select, say item 101 or higher: When they modify the information and click save, the gallery item selected looses focus entirely where no item is selected and of course the form gets the dreaded "No Items to Display"
Anybody else run into this, and would there be a work around?
Thanks!
Troy
Hi @TeeroyLyon ,
Could you please show me more about your scene?
May I ask you some questions?
1. What is your data source?
2. What is the formula you wrote on the Items in the Gallery?
I assume you use SharePoint and have a test for your reference.
I write a simple filter formula on Items of Gallery and Set(Var,ThisItem) on the OnSelect of the Icon.
Set Var on the Item of edit form.
After clicking the submit button, the form still shows the selected.
Best Regards,
Zhi Chen
Thanks for providing this solution. Unfortunately it doesn't work for me. It might be because I am applying a filter to the items in the gallery (In the Items property of the gallery)
Hi @TeeroyLyon ,
Could you please tell me how you set the item property of your Form? Is it Gallery.Selected?
If yes, this is an already existing problem, I suggest you use variable.
I have a test on my side, please try the following workaround.
Set the OnSelect property of NextArrow icon to:
Set(Var,ThisItem)
Set the item property of Form to:
Var
It works fine.
Best Regards,
Zhi Chen
Just checking the item on your form is gallery.selected right?
what datasource are you using to populate gallery is it sharepoint,Sql, dataverse or something else.
If you put a label on the screen and do the text as gallery.selected."insert name of data column here" is that blank aswell or just the form