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.


v16_5_autom_Grid_FilterByRegex_IndexHeaders_3.gif

Tag Attributes

Attributes

Attribute Values

Value Description

Target

Applicable 

Grid Code

N/A - Not required (See detailed description)

Example Scripts

XML
<RemoveAllColumns Target="LogAnalyzer"/>

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.

XML
<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.