To provide that flexibility, we add an additional Column to the Collection. I have called the additional Column MySelection to which every added Record is initially assigned a value of ‘false’. To load a single record into the Collection with the MySelection Column, the formula would be:
OnSelect: Collect(colName,{First_Name:Input_First_Name.Text,Last_Name:Input_Last_Name.Text,MySelection:false});
The MySelection Column is then referenced by the TemplateFill property of the Gallery:
TemplateFill: If(ThisItem.MySelection=true,RGBA(204, 204, 204, 1),White)
Therefore, when a new record is added to the Collection it isn’t immediately highlighted