Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Apps, Widgets, and Controls

Configure alarm sorting

  • Last UpdatedJul 18, 2024
  • 2 minute read

You can configure how the Alarm Control sorts alarm records at run time. By default, the Alarm Control lists alarm records by time in ascending order.

You can sort alarm records in ascending or descending order based on a first sort criteria, an optional second sort criteria, an optional third sort criteria, and and optional fourth sort criteria.

You can configure the sorting columns and directions either in lists or with the grid preview. Use the SortColumn.First Property, SortColumn.Second Property, and SortColumn.Third Property properties in scripting to set the columns to be sorted at run time. Use the SortOrder.First Property, SortOrder.Second Property, and SortOrder.Third Property properties in scripting to set the sort direction for each at run time.

To set sorting columns and directions with lists

  1. Double-click the Alarm Control on the canvas. The Edit Animations dialog box appears.

  2. Click Column Details. The Column Details page appears.

  3. In the Sorting area, do the following:

    1. Select the primary sort column in the First Sort Column list and a sorting direction in the list to its right.

    2. Optionally, select the secondary sort column in the Second Sort Column list and a sorting direction in the list to its right.

    3. If you set the Second Sort Column, optionally select the tertiary sort column in the Third Sort Column list and a sorting direction in the list to its right.

    The grid preview is updated and shows arrows for the sorted columns and their sort directions.

To set sorting columns and directions with the grid preview

  1. Double-click the Alarm Control on the canvas. The Edit Animations dialog box appears.

  2. Click Column Details. The Column Details page appears.

  3. In the grid preview, click on a column to select it for sorting. An arrow appears on the column header and the change is also shown in the Sorting area lists.

  4. To change the sorting direction, click on the column header again. The arrow changes on the column header and the change is also shown in the Sorting area lists.

    Note: If you click on a column header after releasing the Shift key, all sorting information is lost and the selected column is the new primary sorting criteria.

  5. To set second, third, and fourth sorting, hold the Shift key and repeat from step 3.

  6. Release the Shift key.

  7. Click OK.

    TitleResults for “How to create a CRG?”Also Available in