Hello,
Is it possible to scroll the gallery down, i use a timer to refresh the collection
And the gallery load the data again, but i see the gallery don't scroll down to the last record it stays at the top 😞
Is this possible? if yes, could you tell me how.
Thank you.
Hi @TimmyBoy,
Do you always want to automatically hop to the last record in your gallery? In this case, the following functionality will achieve that:
The Default property of your gallery will be:
Last(DataSource)
With DataSource I mean the code within the Items property of that gallery.
After refreshing your collection, you can use the Reset(GalleryName) to trigger the default value and make the gallery hop to the last record.
If your gallery sometimes needs to start at the top and sometimes at the bottom. You can dynamically declare this by using a variable in the Default property. This variable can then be set to Set(varDefault, First(DataSource)) or Set(varDefault, Last(DataSource)) to make the gallery start at the top or bottom dynamically. (default property of the gallery would be varDefault)
If this solves your question, would you be so kind as to accept it as a solution.
Thanks!
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional