Sort: order data by column

Tag: Sort

The Sort action emulates the Sort function of the GridView.

Detailed Description

Use this action in your automation script to sort the column of your choosing. Ascending="False" means Sort Z to A
Ascending="True" means Sort A to Z.

v16_5_autom_Grid_Sort_Menu_1.gif


The Server attribute is only applicable to consoleEZ, in which case it will be mandatory for Target="LogAnalyzer" or Target="VolumeAnalyzer". The Index attribute is also only used in consoleEZ and is mandatory when using Target="LogAnalyzer" or Target="VolumeAnalyzer", it is the value found on the Log Analyzer and Volume Analyzer windows.

Tag Attributes

Attributes

Attribute Values

Value Description

Target

The corresponding Grid Code

Sets the target grid panel - Not Required. If no target is set, the default main grid target will be used.

ColumnID

The corresponding Column ID as shown in the Grid Manager

Sets the column to be sorted - Required

Ascending

True/False

Not Required: defaults to False (Z to A)

Combine

True/False

If True, the sort is added to the current sorting (multi-column sort).

Otherwise (default), it replaces the current sorting.

Server

Abbreviated server names (separated by comma)

https://www2.ytria.com/icons/ecblank.gif N/A - Only applicable in consoleEZ - see below

Index

Positive integer

Window index number - Only applicable in consoleEZ - see below

Example Script

XML
<Sort ColumnID="8" Ascending="False"/>
<Sort ColumnID="3" Ascending="True" Combine="True"/><!-- sorts by column 8, then by column 3 -->