InvertSelection: Invert Row Selection

Tag: InvertSelection

The InvertSelection function automates the action of inverting selected rows in the grid.

All selected rows become unselected, and previously unselected rows become selected.


automation-grid-selRowsInversion-1.gif


XML
<InvertSelection/>

Tag Attributes

Attributes

Value Description

Target

Grid code name - Optional

Top

Number of rows to select - Optional

See Select: Select Rows


Example Script

XML
<ytriaAutomation Application="sapio365">
	<Select lines="ByValue">
		<SetParam ColumnID="groupType" Value="Office 365 group"/>
	</Select>
	<InvertSelection/>
</ytriaAutomation>


With top:

XML
<ytriaAutomation console="false">
	<ShowGroups>
		<Select Lines="ByValue">
			<SetParam ColumnID="visibility" Value="Private"/>
		</Select>
		<InvertSelection Top="6"/>
	</ShowGroups>
</ytriaAutomation>