ClearSorting: Remove Sorting

Tag: ClearSorting

ClearSorting removes sorting from the grid: from one column when ColumnID is set, or from all columns otherwise.

XML
<ClearSorting/>

Tag Attributes

Attributes

Attribute Value

Comment

ColumnID

Unique ID of a column

Column whose sorting is removed. Omitted: all sorting is removed.

Target

Grid name

Grid to act on. See

Sort

.

Example Script

XML
<ytriaAutomation Application="sapio365">
	<ShowUsers>
		<Sort ColumnID="displayName" Ascending="True"/>
		<Sort ColumnID="department" Ascending="True" Combine="True"/>
		<ClearSorting ColumnID="department"/>
		<ClearSorting/>
	</ShowUsers>
</ytriaAutomation>