18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Alarms, Events, and Trends<br />

Type<br />

Date/Time<br />

Description<br />

Displays the value in the Date/Time format (e.g., MM/DD/YYYY HH:MM:SS). This setting is available only when the Data<br />

Source type is set to Database.<br />

Note:<br />

• When the Data Source type is set to Database, it is important to make sure that the Type for each<br />

column configured in the object matches the Type of the respective field in the database.<br />

• When the Data Source type is set to Database, you can configure valid SQL statements<br />

directly in the field (e.g., List(DISTINCT [Cell_Name]) AS [Cell Name]). You can also<br />

configure tag names between curly brackets to modify this setting during runtime (e.g.,<br />

{MyFieldName}).<br />

Tip: If Picture is the column type, the Grid object displays a default icon ( ) if the picture file is<br />

not found during runtime. You can configure a different picture to be displayed when the file is<br />

not found by copying the picture file to the Web sub-folder of your project folder and configuring<br />

its name on the project_name.app file, as follows:<br />

[Objects]<br />

GridDefaultPicture=PictureFileName<br />

• Width: Enter a width of the column, in pixels.<br />

• Align: Select an Alignment for the data shown in the column. There are three options: Left, Right or Center.<br />

• Input: Click (check) to allow the user to enter data in this column during runtime.<br />

• Key: Use this field to designate a shortcut for sorting the values. A shortcut is a combination of keys<br />

pressed on a keyboard at one time (e.g., CTRL+C, CTRL+V, etc.). This option is especially useful when<br />

creating projects for runtime devices that do not provide a mouse or touchscreen interface and only have a<br />

keyboard for interacting with the project during runtime.<br />

• Unit: Enter the name of the engineering unit (i.e., the unit of measurement), if any, that applies to the data<br />

displayed. You can also enter a String tag using the {tagname} syntax, which allows you to change the<br />

value of Unit during runtime.<br />

• Decimal Points: Enter the number of decimal places to be displayed. You can also enter an Integer tag using<br />

the {tagname} syntax, which allows you to change the value of Decimal Points during runtime.<br />

Note: When the Data Source type is set to Class Tag, and the Columns dialog is left blank, the<br />

object displays the values from all members of the Class tag with the following default column<br />

settings:<br />

• Label = <br />

• Type = Text<br />

• Width = <br />

• Align = Center<br />

• Input = Enabled (checked)<br />

• Key = <br />

• Unit = <br />

The Unit of a class member or tag is set using the Tag Properties tool.<br />

• Show ID Column: Check to display the number of each row, automatically.<br />

• Allow sorting columns: Check to enable the user to sort the values in the columns during runtime, either by<br />

clicking on the label or by using the shortcut configured for each column. This option is disabled if the<br />

Show header option from the Advanced dialog is not checked.<br />

<strong>InduSoft</strong> Web Studio Page 297

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!