Group Grid Tool - Columns Page

The Columns page is used to add, edit or delete columns from the grid. This page also specifies sorting and grouping settings. The column labels will appear in the grid from left to right in the same order they are listed in the Columns box.

Group Grid Tool - Columns Page

Group Grid Tool - Columns Page

Columns

Property Description

New

Adds a new column to the grid. See Column Configuration for more information.

Edit

Edits selected column. See Column Configuration for more information.

Delete

Removes selected column from the grid.

Move Up

Moves the selected column up in the list, which moves the column to the left on grid in Run mode.

Move Down

Moves the selected column down in the list, which moves the column to the right on the grid in Run mode.

Column Configuration

The Column Configuration box specifies the attributes of each column in the grid such as data to display, format, summary settings, etc.

Column Configuration

Column Configuration

Label

Property Description

Label

Specifies the heading for the column. This is a free-form text field with no character limit.

Point Selection

Property Description

Reference Facility

Specifies a reference facility for the column. Click Configure to set the reference facility filter.

  • The Filter property specifies any custom filter you wish to apply to narrow points, in the semicolon-delimited "attribute=value" syntax.
  • The Attribute property specifies an attribute of the child/reference facility where the value matches the facility tag of the row.

Configure Reference Facility

Configure Reference Facility

Example

In the above example, assume a reference facility is being configured for a Group Grid column with a facility set to "MYSITE.UIS::WELL1".

By listing facility_info0 in the Attribute field, an initial request is made to "find all facilities with a facility_info0 attribute value set to MYSITE.UIS::WELL1".

This initial request might return more than one facility (for example, multiple METER or TANK facilities). That’s where the Filter setting comes into play.

In the above example, setting the Filter setting to facility_type=METER;facility_attr10=0 means "of the list of facilities returned in the initial request, set the reference facility to the one facility that is of "METER" type and whose attr10 value (defined as "Order in type") is zero."

UDC

Specifies the UDC for the column. Leave blank to use the grid default.

Item

Specifies the item to be displayed in each cell in the column. The default is Value. Any point configuration property, CVS record property, or facility attribute can be used. Leave blank to use the grid default.

Text

Specifies the text to be displayed in each cell in the column. The text can be dynamic, static, or a combination. Dynamic text is built using tokens, which can represent point configuration, facility, and CVS point record properties. Data formatting can be specified. See Using Text Tokens for more information about building dynamic text using tokens.

History Rollup

Specifies the historical rollup settings. Click the Configure button to set the history rollup. See History Rollups for more information.

  • Time Adjustment specifies the offset from the current time.

Warning: The default offset is 1 second. To ensure your system does not overload with rollup data, carefully configure settings in the Time Adjustment options. Enter an offset suitable for the volume of data you anticipate receiving. See Date and Time Wildcards for information about using time wildcards.

  • Rollup Type specifies the desired rollup type.
  • Rollup Period and Units specifies the specify the period to which the data will be calculated or thinned.
  • Top of Subunit specifies an offset from the normal date/time. It provides a method to allow for start of day, time zone, or scheduling differences. For example, if you are using a rollup period of 1 day, and your data day starts at 8:00 A.M. (instead of midnight), you can offset the period by entering an "8" in this field. Note that this field uses 24-hour time.

Point State

Property Description

Custom Colors

Specifies custom colors for alarms for the cells. Leave blank to use the grid defaults.

Blink Color

Specifies the color that alternates with the alarm color when an unacknowledged alarm exists. Default is automatic. Leave blank to use the grid default.

Note: Alarm blinking is available only for points created using the CygNet Enhanced Point Scheme (Point Scheme number 1 - 15). The blinking feature is not available for points created using the default CygNet Standard Point Scheme (Point Scheme number 0).

Element

Specifies if the alarm state is shown in the Foreground, Background, or not at all (None). Leave blank to use the grid default.

Display Ack State

Specifies if the tool blinks when an unacknowledged alarm exists. Leave blank to use the grid default.

Note: Alarm blinking is available only for points created using the CygNet Enhanced Point Scheme (Point Scheme number 1 - 15). The blinking feature is not available for points created using the default CygNet Standard Point Scheme (Point Scheme number 0).

Unknown Tag

Specifies how you want to handle tags that are unknown. Options are Hide or None.

Show Comment Indicator

Specifies whether or not a small flag appears in the upper-right hand corner of the cell indicating there is a Comment in the point configuration record. When enabled a custom flag color may be chosen. Leave blank to use the grid defaults.

Color

Click to specify a color for the comment.

Formatting

Property Description

Format

Specifies the display format of the data. See Properties for more information.

Align

Specifies the text alignment for the column. Default is Left. Other options are Right and Center.

Overflow

Specifies the behavior of text if the text is too wide for the column. Options are WordWrap and Ellipsis.

Sorting and Summation

Property Description

Sort As

Specifies the data type by which to perform sorting. Options are: Numeric - Numbers are sorted from the smallest negative number to the largest positive number. String - When you sort string (alphanumeric) text, the sort is left to right, character by character based on the ASCII decimal representation. Apostrophes (') and hyphens (-) are ignored, with one exception: If two text strings are the same except for a hyphen, the text with the hyphen is sorted last. Date - Dates are sorted left to right based on the numbers in the date string. Default is String. See Sorting and Grouping for more information.

Summary Type

Specifies the type of summary for the column. Default is None. Other options are Count (number of items in the column), Sum (summation), Mean (average), Minimum (minimum value in the column), and Maximum (maximum value in the column). See Grid Summary Row for more information.

Include Unreliable

If enabled, data with the point status of Unreliable will be included in the summation. If the option is not enabled, unreliable data will be excluded from the summation. This option is only available if the Summary Type property is set to a value other than None.

To Configure a Grid Column

  1. Show the properties for the Group Grid Tool object.
  2. Click the (OCXProperties) property on the ActiveX page in the object’s Property Sheet.
  3. Click on the Columns page.
  4. Click New.
  5. Define the properties for the column.

Warning: The default offset is 1 second. To ensure your system does not overload with rollup data, carefully configure settings in the Time Adjustment options. Enter an offset suitable for the volume of data you anticipate receiving.

  1. Click OK to save the column properties.
  2. Click OK to save the changes to the grid.
  3. Save the CygNet Studio file.

Sorting and Grouping

By default, the grid uses Single Column sorting. In Run mode, the rows are sorted by clicking on a column heading. The sort order toggles between ascending and descending. Empty cells will be sorted at the top for Ascending and bottom for Descending.

The grid can also be configured for Multiple Column sorting. This is also defined on the Columns page using the Sorting and Grouping Configure button. Row groupings can be defined when using multiple columns sorting. Any combination of grid columns can be used to sort data and group rows.

If the multiple columns sorting option is defined, users will not be able to click on a column heading to sort and/or reverse sort based on that column. They must use the Sort option on the context menu in the top, left cell to toggle the order columns based on Ascending or Descending.

If grouping is enabled the rows will also be grouped based on the data.

Sorting and Grouping

Sorting and Grouping

To Configure Grid Multiple Column Sorting

  1. Show the properties for the Group Grid Tool object.
  2. Click the (OCXProperties) property on the ActiveX page in the object’s Property Sheet.
  3. Click to enable the Multiple Column sorting option.
  4. Click the Configure button.
  5. Select a column in the Available Columns box and click the Add button to add it to the Selected Columns list.
  6. The items are sorted based on the order they are listed in the Selected Columns box. To change the order, select an item and use the Move Up or Move Down button.
  7. To use the data in a column for grouping, click to select the box next to the column name in the Select Columns box.

Grid Summary Row

The grid object can be configured to include a summary row. This is enabled using the Show Summary Rows property in the OCXProperties dialog box (Columns page). In addition, each column in the grid must be configured for its type of summary.

Grid Summary Row

Grid Summary Row

Summary Type Description

Count

Number of items in the column.

Sum

Sum of all the items displayed in the columns.

Mean

Average value of the items displayed in the columns.

Minimum

Minimum value displayed in the column.

Maximum

Maximum value displayed in the column.

By default, Show Summary Rows is not enabled and the Summary Type is set to None.

The number of summary rows depends on the column grouping. Each group will have its own summary row. In the example below, grouping is specified by individual rows. As such, each row has its own summary row.

Summary Row

Summary Row

Back to top