SelectColumn: Set Focus on Column

Tag: SelectColumn

The SelectColumn action will emulate selecting the column in a grid.

Detailed Description

It is necessary to giving focus to a column before automating functions in the grid that operate from a column perspective.

The action SelectColumn generally uses only two attributes: Target and ColumnID.

NOTE

Due to the nature of consoleEZ, it is possible to have multiple grids and consoles open at once.

The way to reference a specific grid when using either the Log Analyzer or the Volume Analyzer (Target="LogAnalyzer" or Target="VolumeAnalyzer") is through two attributes:


    The script above will select the second column on the [1] Volume Analyzer grid for the server 'Acme01/ACME'.

    Tag Attributes

    Attributes

    Attribute Values

    Value Description

    Target

    https://www2.ytria.com/WebSiteHelp.nsf/919aa6286b8b646185258083007d2af4/4a9359f73b8c14e185257ffb006990bd/Body/0.7DA?OpenElement&FieldElemFormat=gif

    Applicable 

    Grid Code

    Sets the target grid to carry out the action on - Required

    If no target is set, the target will default to the main grid (for products containing a main grid).

    ColumnID

    Applicable Column ID in the 

    Grid Manager

    Sets the column to carry the action out on -

    Required

    Server

    User defined

    Name as found in the 'Select server' list of the 'Open Server' dialog - Required for 

    Target="LogAnalyzer"
    or
    Target="VolumeAnalyzer"

    Index

    Positive integer

    Console window index number - Required for 

    Target="LogAnalyzer"
    or
    Target="VolumeAnalyzer"


    Example Script


    XML
    <SelectColumn columnID="displayName"/>
    <ShowColumnDuplicates/>
    

    In this example, finding duplicate values in a column requires to select the column first.