In Properties, set the grid columns properties by assigning values and creating dynamic links.
For more information about dynamic links, see Create dynamic links.
Tip: You can use a preconfigured alarm grid instead of creating it from scratch. For more information, select
Template Libraries and select .
To configure the alarm grid columns
-
Configure TimestampColumn:
-
Under DataItemTemplate, create a dynamic link between Text, and .
-
Create a dynamic link between Order by and .
-
Set Title to Timestamp.
-
In Project view , select AlarmsGrid.
-
In Properties, create a dynamic link between Sort column and .
Tip: You can select the @Attribute values from the Attribute drop-down menu at the bottom of the dialog.
-
Configure NameColumn:
-
Under DataItemTemplate, create a dynamic link between Text and .
Tip: You can select the @Attribute values from the Attribute drop-down menu at the bottom of the dialog.
-
Create a dynamic link between Order by and .
Tip: You can select the @Attribute values from the Attribute drop-down menu at the bottom of the dialog.
-
Set Title to Name.
-
Configure SourceVariableColumn:
-
Under DataItemTemplate, create a dynamic link between Text and .
-
Create a dynamic link between Order by and .
-
Set Title to Source Variable.
-
Configure MessageColumn:
-
Under DataItemTemplate, create a dynamic link between Text and .
-
Create a dynamic link between Order by and .
-
Set Title to Message.
-
Configure the ActiveColumn:
-
Under DataItemTemplate, create a complex dynamic link between Path and with the use of a key value converter.
-
Next to KeyValueConverter1, select
, and set the converter to the following values:
Table 1. Converter configuration
Keys (Boolean) |
Values (ResourceUri) |
True
|
%PROJECTDIR%\RadiobuttonDark.svg |
False
|
%PROJECTDIR%\RadiobuttonDarkEmpty.svg |
-
Under DataItemTemplate, set Width and Height to 16.
-
Create a dynamic link between Order by and .
-
Set Title to Active.
-
Configure AcknowledgedColumn:
-
Under DataItemTemplate, create a complex dynamic link between Path and with the use of a key value converter.
-
Next to KeyValueConverter1, select
, and set the converter to the following values:
Table 2. Converter configuration
Keys (Boolean) |
Values (ResourceUri) |
True
|
%PROJECTDIR%\ApplyDark.png |
False
|
%PROJECTDIR%\CloseDark.png |
-
Under DataItemTemplate, set Width and Height to 16.
-
Create a dynamic link between Order by and .
-
Set Title value to Acknowledged.
-
Configure ConfirmedColumn:
-
Under DataItemTemplate, create a complex dynamic link between Path and with the use of a key value converter
-
Next to KeyValueConverter1, select
, and set the converter to the following values:
Table 3. Converter configuration
Keys (Boolean) |
Values (ResourceUri) |
True
|
%PROJECTDIR%\ApplyDark.png |
False
|
%PROJECTDIR%\CloseDark.png |
-
Under DataItemTemplate, set Width and Height to 16.
-
Create a dynamic link between Order by and .
-
Set Title to Confirmed.
-
Configure SeverityColumn:
-
Under DataItemTemplate, create a dynamic link between Text and .
-
Create a dynamic link between Order by and .
-
Set Title to Severity.
-
For TimestampColumn, NameColumn, SourceVariableColumn , MessageColumn, and SeverityColumn:
Under DataItemTemplate, create complex dynamic links between the Text color properties and with the use of SeverityColorConverter.
Tip: Alternatively, create a complex dynamic link between the Row text color property and with the use of SeverityColorConverter.
-
For each column, adjust the width parameter value according to your preferences.