Perform action if row is the first on a data list
I have two data grids. The first one (Source) has items that can be selected through checkboxes. The selection from that Source data grid is passed on in a variable to another data grid (Target) in another screen, so Target is populated by the selected items in Source.
I want to perform a few style changes ONLY to the first row for the Target data grid.
How do I select only the first row in the Target data grid, no matter what its contents are? Or, how do I achieve this in any other way?
Basically that I needed was something like If [Row index of [ Target ] == 1]