Genie Name: list_row_x<n>
Genie Library: sa_controls
System Project: SA_Controls
The List Row Genie can be used in conjunction with the Alarm List and Generic List Genies to facilitate row selection, row context menu and row background color. Several variations of the List Row Genie are available:
Note: There is no need to adjust the size of the List Row Genie on a graphics page to fill an area. The required space will be determined at runtime by the size of the list with which it is associated.
For further instructions on how to use the List Row Genie, see Add an Alarms List to a Page or Add a Generic List.
Complete the following properties for the Genie in the Genie Properties dialog box.
Select the Genie and double-click on it to view its parameters. The parameters are used as described in the table below:
Parameter |
Description |
---|---|
ArrayAN |
Specify the AN of the alarm list to which row formatting will be applied. You can use the Cicode function DspGetAnFromName to retrieve the AN. For example, DspGetAnFromName("AlarmList"). |
RowOffset |
Row number at which to display a list if there are multiple Alarm List Genies on the page. Default is 0. If multiple List Row Genies are inserted on to a page, you need to specify the correct row offset for each List Row Genie. For example, if you insert two List Row_x10 Genies, the row offset for the first Genie will be 0 while the row offset for the second Genie will be 10. |
LeftClickCommand |
Allows you to call Cicode that performs operations when you click on a row within the list. For example, you can select the row using AlarmPage_SelectAlarmRecord(DspGetAnFromName("AlarmList")). |
RightClickCommand |
Allows you to call Cicode that performs operations when you right-click on a row within the list. For example, Alarm_TopAlarmsRow_RightClickCommand(DspGetAnFromName("AlarmList")). |
See also
Published June 2018