The self-closing tag
SuspendRedraw emulates the selection of the Suspend Grid Redraw option found in the toolbar and right-click menu of all flexYgrid enabled panels.
|Attributes||Attribute Value||Value Description||Comment|
|Target||Applicable Grid Code||Sets the target grid to carry out the action on||Not mandatory: |
If no target is set, the target will default to the main grid (for products containing a main grid)
|Value||True/ False||To set, the flag to engage the action||Mandatory|
|Server||Abbreviated server names (separated by comma)||Only applicable in consoleEZ - see below|
|Index||Positive integer||Window index number||Only applicable in consoleEZ - see below|
When engaging the
SuspendRedraw action, a
<SuspendRedraw="True"/> must come in tandem with a
<SuspendRedraw="False"/> line in order to let the grid update; the grid will only update once the
<SuspendRedraw="False"/> is encountered in the script.
The Server attribute is only applicable to consoleEZ, in which case it will be mandatory for
The Index attribute is also only used in consoleEZ and is mandatory when using
Target="VolumeAnalyzer", it is the value found on the Log Analyzer and Volume Analyzer windows.
<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Console="false" Application="databaseEZ" ApplicationVersion="16.5" Version="1.0">
<Filter columnID="D2" Mode="Contains" Text=".nsf"/>
<Sort columnID="I27" ascending="false"/>
In the script above, to be executed on a databaseEZ grid that already has databases loaded, the
SuspendRedraw action is engaged (by setting its value to "True" before the script carries out four successive grid actions). The grid will update with the resulting configuration only after the action
<SuspendRedraw value="false"/> is encountered in the script.