You can configure the settings for each column displayed by the Grid object during runtime, as follows:
Type | Description |
---|---|
Text | Displays alphanumeric values |
Numeric | Displays numeric values |
Picture | Displays the picture (*.bmp or *.ico format) from the data source. For instance, if the value from the data source is MyFile.bmp, the grid object will display the picture from the file MyFile.bmp stored in your project folder. The picture will be automatically resized to fit the cell of the grid object. The picture file(s) must be stored in the Web sub-folder of your project folder to support this feature on the Thin Client stations. CEView projects support pictures in bitmap format (*.bmp), but not in icon format (*.ico). |
Checkbox | Displays checkbox interfaces. The checkbox will be unchecked if the value read from the file is 0, <NULL> or "FALSE"; otherwise, the checkbox will be checked. By default, IWS will use the value 0 for unchecked and the value 1 for checked. |
Time | Displays the value in the Time format (e.g., HH:MM:SS). This setting is available only when the Data Source type is set to Database. |
Date | Displays the value in the Date format (e.g., MM/DD/YYYY). This setting is available only when the Data Source type is set to Database. |
Date/Time | Displays the value in the Date/Time format (e.g., MM/DD/YYYY HH:MM:SS). This setting is available only when the Data Source type is set to Database. |
[Objects] GridDefaultPicture=PictureFileName
The Unit of a class member or tag is set using the Tag Properties tool.