Skip to main content
Skip table of contents

Move: Move Grid Column to a New Position

Tag: Move

The self-closing tag Move lets you set a column to the specified position within the target grid.

Detailed Description

The self-closing tag Move functions like a drag and drop of a column header.


Tag Attributes

AttributesAttribute ValuesValue Description
Target
Applicable Grid Code

N/A - Not RequiredIf no target is set, this will default to the main grid.

ColumnIDApplicable Column ID in the Grid Manager
N/A - Required
PositionApplicable Grid Position entry as shown in the Grid ManagerThis is the position to move the column to - Required


Example Scripts

XML
<Move ColumnID="44" Position="10"/>
XML
<ytriaAutomation>

	<Load Server="Acme01/ACME"/>
	<Select Target="Tree" Folder="Demos"/>

	<Add ColumnID="DB6" Position="10"/>
	<Add ColumnID="DB7" Position="11"/>
	<Add ColumnID="DB8" Position="12"/>

	<Select Lines="All"/>

	<Move Target="SelectedACL" ColumnID="DB6" Position="1"/>
	<Move Target="SelectedACL" ColumnID="DB7" Position="2"/>
	<Move Target="SelectedACL" ColumnID="DB8" Position="3"/>

</ytriaAutomation>

In the aclEZ compatible script above, the server "Acme01/ACME" will be loaded into the Databases panel, the folder "Demos" will be selected in the Tree, providing that those paths exist. The columns with ColumnID 44, 45, and 46 will be placed in position 10, 11, and 12, respectively, in the Main Grid. All lines in the Main Grid will be selected. In the 'ACLs for Selected Databases' panel, these columns will be moved to grid positions 1,2, and 3.


JavaScript errors detected

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

If this problem persists, please contact our support.