Skip to main content
Skip table of contents

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.



XML
<InvertSelection/>

Tag Attributes

AttributesValue Description
TargetGrid code name - Optional
TopNumber of rows to select - Optional


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>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.