Power Apps UI Tip 💡: Auto Select an Item in a Gallery

preview_player
Показать описание
In this video, Brian shows you how to auto select an item in a gallery in Power Apps. This can be used for example to auto select an item that was just created in a form and helps your users find the record quicker than before.

Code Used:
Shade the row:
If(ThisItem.IsSelected, LightBlue)

Default the Gallery:
varLastSubmit

Select the Item:
Select(GalleryName, 1, NextArrow)

-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - -

Next step on your journey:


Let's connect:

Pragmatic Works
7175 Hwy 17, Suite 2 Fleming Island, FL 32003
Phone: (904) 638-5743

#PragmaticWorks #BrianKnight #PowerApps

-~-~~-~~~-~~-~-
Please watch: "(275) Free Pragmatic Works Power Apps Component Library "
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Wow, that Select statement, first time I'm seeing it used for a control into a gallery, nice one, Brian! Thank you.

AdiCristea
Автор

Straightforward and clear! Thank you for this!

eylownuh
Автор

Hi,
Can you Please tell me, How to Use this same technique, When a gallery and form are in a different Screen.

Cv_RTX
Автор

Hello!
Please kindly help me.

I would like from a data table (DataTable1), select a row from the gallery (gallery1) corresponding to the row of data to select on my table knowing that I am using the same sharepoint list which points to the two elements which are on different screens.

I've been stuck for several days.

donjultchi-ngoma
Автор

How do you do this if you are not using a form, but patch? There is no OnSuccess.

briankgarland
Автор

I'm not sure why yet, but this didn't work for me.

gkbradshaw