Skip to main content
Skip table of contents

Collapse: Collapse All Grid Categories (aka Groups)

Tag: Collapse

The self-closing tag Collapse emulates the selection of the 'Collapse All' option found in the right-click menu.

Detailed Description

The Collapse action can be used either without attributes, or with the Target value of "Grid" to collapse the main grid.

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

AttributesAttribute ValuesValue Description
Target
Applicable Grid Code

N/A - Not Required (See detailed description)

ServerAbbreviated server names (separated by comma)

N/A - Only applicable in consoleEZ (See detailed description)

IndexPositive integerWindow index number - Only applicable in consoleEZ (See detailed description)

Example Scripts

XML
<Collapse/>
XML
<ytriaAutomation>
	<Load Server="ACME01/ACME" Select="True"/>
	<GroupBy ColumnID="D1"/>
	<Collapse/>
</ytriaAutomation>

In the script above, the entire server ACME01/ACME will be loaded into the database selection tree and selected. The grid entries will be grouped by the column with the ID "D1" and this grouping will be collapsed.

JavaScript errors detected

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

If this problem persists, please contact our support.