Skip to main content
Skip table of contents

GridDataComposition: Apply Grid Configuration from File

Tag: GridDataComposition

The GridDataComposition action will apply a previously saved grid configuration file to a grid. It can also run the content of such a file directly within your script.
Grid configuration files contain information about the grid layout, its options, the order of columns, their formats, grouping, sorting etc.


XML
<GridDataComposition FilePath="C:\dev\Temp_XML\mainGridConfig.xml"/>

Tag Attributes

AttributesAttribute ValuesValue Description
TargetThe corresponding Grid CodeSets the target grid on which to carry out the action - Not Required. If no target is set, the target will default to the main grid (for products containing a main grid).
FilePathUser definableThe folder path that contains the Grid Data Composition XML file
FrozenColumnIDApplicable Column ID in the Grid Manager

Sets the horizontal scrolling freeze of the grid at that column position.

If the column is not found, the column at position FrozenColIndex is set as the frozen column, if provided, 

FrozenColIndex

Position of column to freezeSets the horizontal scrolling freeze of the grid at that column position.
ResetUserDefault

YtriaDefault

Will return the grid to the specified default setting - Not Required
ServerAbbreviated server names (separated by comma)

N/A - Only applicable in consoleEZ

IndexPositive integerWindow index number - Only applicable in consoleEZ

When using the attribute FilePath to retrieve incoming files, it will validate if both the folder path is correct and that the file itself exists.

Example Script

XML
<YtriaAutomation>
	<Load Server="Acme01/ACME" partial="true">
		<Load Database="AutoTest\Im_us_8.nsf" Select="True"/>
		<Load Database="AutoTest\Im_nab_8.nsf" Select="True"/>
		<Load Database="AutoTest\info_s03.nsf" Select="True"/>
		<Load Database="storebackup.ntf" Select="True"/>
	</Load>

	<GridDataComposition FilePath = "C:\dev\Temp_XML\ConfigGrid1.xml"/>
 	
</ytriaautomation­>
JavaScript errors detected

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

If this problem persists, please contact our support.