By default, the first record in the Gallery control is selected. In the example below, ‘Microsoft’ is the first record and is selected by default..

Clear record selection:

To prevent any record from being selected by default, use the ‘Default‘ property of the Gallery control and set it to {}.

Run the app, and you will observe a gallery with no default record selected.

Select a specific record by default:

If you want to set a specific record as the default, use the ‘Default’ property with a formula, as illustrated below. The following example selects an Account record with the name ‘Cartos’.

First(Filter(Accounts, 'Account Name' = "Cartos"))

🙂

Advertisements
Advertisements

Leave a comment

Visitors

2,098,139 hits

Top Posts