Tag: Add

This self-closing tag will make a column visible or move it, if already visible, to the specified Position value.

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

Tag Attributes

AttributesAttribute ValuesValue DescriptionComment
Applicable Grid Code


Not mandatory – If no target is set, this will default to the main grid.
ColumnIDApplicable Column ID in the Grid Manager


PositionApplicable Grid Position entry as shown in the Grid ManagerThis is the position to which the column will be moved.Mandatory

Example Script

<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="aclEZ" ApplicationVersion="16.5">
	<Load Server="Acme01/ACME"/>
	<Select Target="Tree" Folder="Demos"/>
	<Add ColumnID="44" Position="10"/>
	<Add ColumnID="45" Position="11"/>
	<Add ColumnID="46" Position="12"/>

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.