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

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

	<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"/>


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.