Overview
The Location Attribute Display (available since 2015.01) can show a list of configuration files (csv and dbf) that are used to configure a location.The configuration files can be displayed using a table viewer with sorting, filtering and column hiding functionality.
Configuration
To use the Location Attributes Display viewer, configure it as <explorerTask> in Explorer.xml. For example:
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <locationAttributesDisplay xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/locationAttributesDisplay.xsd"/> |
Displaying Content
To display the data a location has to be selected in the Data Viewer. After selecting a location a list of configuration files will be displayed. The content of the first configuration file will be shown by default. Selecting another file will display its content.
Only configuration files in .csv or .dbf format can be displayed. If the locations are configured in .xml, the file will not be shown in the display.
Sorting
The table can be sorted by clicking on a header.
Filtering
Tables can be filtered by double clicking on a cell entry. Only records with the same entry for the selected column will be displayed. The selected entry will be highlighted (blue). Double clicking another entry will expand the filter. To undo the filtering the highlighted column has to be double clicked again.
Column hiding
In case not all columns should be visible, right clicking on a value will show the "Set column visibility" menu. This allows a user to select or deselect columns that should be visible (at least one column has to remain visible). These settings will be stored in the user settings and will remain available after FEWS was restarted.
...