RemoveAllColumns: Hide All Grid Columns
Tag: RemoveAllColumns
The RemoveAllColumns action will remove all currently visible columns from the specified grid panel.
Detailed Description
The action RemoveAllColumns can be used either without attributes, or with the Target value of "Grid" to remove all the visible columns from 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 required 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 | Applicable Grid Code | N/A - Not required (See detailed description) |
Server | Abbreviated server names (separated by comma) | N/A - Only applicable in consoleEZ (See detailed description) |
Index | Positive integer | Window index number - Only applicable in consoleEZ (See detailed description) |
Example Scripts
<RemoveAllColumns Target="LogAnalyzer" Index="1"/>
Search multiple servers for all invalid ACL entries
This script will automatically search three servers for any and all invalid ACL entries—entries for names not found in the NAB—and then export the results to a per-server report, one Excel file each.
<ytriaAutomation>
<RemoveAllColumns/>
<Add ColumnID="DB1" Position="1"/>
<Add ColumnID="ACL5" Position="1"/>
<Add ColumnID="ACL1" Position="1"/>
</ytriaAutomation>
In the script line above, all columns that are currently visible are removed, and then 3 columns are displayed.