# Work with data tables

> Filter, sort and search the data tables of the eaxScada Studio and operator runtime, choose their columns with the Columns button (remembered per table in this browser, Reset, keyboard), and export the rows as CSV; which columns always show, which start hidden in a narrow window, and which a table shows only for some data or rights.

Product: eaxScada · Type: How-to guide · Editions: Starter, Pro, Enterprise
Source: https://eaxware.com/docs/eaxscada/how-to/work-with-data-tables/
Verified against commit 07f0cdd.

Every list of records in eaxScada (tags, mappings, users, alarms, events, logs, reports, shift log entries and the Studio's settings grids) is the same data table, with the same tools.

## Goal

Show only the columns you need in a table, find the rows you want, and give them to someone else as a CSV file.

## Filter, sort and search

- **Sort**: click a column header; click again to reverse.
- **Filter a column**: type in the box under its header (text, number or date, as the column holds). A column with a filter box is always wide enough to type in it.
- **Filter rows...**: the search box in the toolbar, shown when the table holds more than 20 rows. It searches every column.
- **Width and order**: drag a header's edge to resize a column, drag the header to move it.
- The count in the toolbar gives the rows shown, "12 of 340 rows" while a filter hides some.

Live values change in their cells: your filters, sort and scroll stay as they are.

## Choose the columns

**Columns**, in the toolbar before **Export CSV**, opens a menu with a check box per column.

1. Click **Columns**.
2. Click a column to show or hide it. The table changes at once; it is not rebuilt, so filters, sort and scroll stay.
3. Close the menu with **Escape**, **Tab** or a click outside.

When columns are hidden, the button says so ("Columns 2 hidden").

- **Always shown**: the row's own name or id, pinned columns and a few columns a table needs are listed as "Always shown" and cannot be hidden. The actions on the right (Edit, Delete and the like) and the warning markers are not listed: they always stay. The last column shown cannot be hidden either.
- **Reset** (at the bottom of the menu) drops your choices: each column goes back to how the table starts.
- **Keyboard**: **Up** and **Down** move through the menu, **Home** and **End** go to the first and last item, **Enter** or **Space** shows or hides the column. **Escape** closes the menu and returns to the button; a dialog the table is in stays open.

**Remembered per table.** Your choice is kept in this browser with the table's column widths, order and sort, for each table on its own, and comes back the next time you open it. Some tables that show a passing result (a preview, a check) do not remember their layout.

## Narrow windows

Some tables start with a few less needed columns hidden when the window is narrow, so that the others fit without scrolling sideways. For example, the logs grid of **Project > Shift log...** hides **Grace (min)** and **Inline co-sign** in a window narrower than 1100 pixels, so it fits at 1024. They follow the window while you have not chosen: widen it and they show again. Show one in **Columns** and it stays shown at every width, until **Reset**.

## Columns that depend on the data or your rights

A few tables offer a column only when it makes sense: **Owner** in the report schedules (to reports administrators, or when another user's schedule is listed), **Run as** in the report runs (to reports administrators, or when a run as another user is listed), and the **Controller handshake** column of an alarm summary (while an alarm listed has a controller handshake).

- While a table does not offer such a column, it is hidden, not listed in **Columns**, and never exported.
- When the table offers it, it follows your choice in **Columns**. A refresh never shows a column you hid or hides one you showed.

## Export CSV

**Export CSV** downloads the rows as shown: with the filters and the sort applied, in the columns shown, as `<table>_<yyyy-mm-dd>.csv`. The actions column is never in it.

Some tables add columns to the file that they do not show. The shift log panel's **More > Export CSV** also writes the author, the signatures and the reference count of each entry; your choice in **Columns** stays as it is after the export.

## Language

The toolbar (**Filter rows...**, **Columns** and its menu, **Export CSV**, the count) is in the operator's language and changes with it. So are the default "Nothing to show." and "Loading..." texts of a table that has none of its own, the quality words (Good, Uncertain, Stale, Forced, Overridden, Bad and their tooltips), the warning markers on rows, the "N rows with warnings" chip and the title of the warning card, and the **Split** tab of a card that shows a chart and a table of the same data.

The table's own words follow the operator's language in the runtime too, in English, French, German, Italian and Spanish: the filter menus and their operators (**Contains**, **Equals**, **AND** / **OR** and the rest), **Apply** and **Reset**, the column menu, the pager, and the empty and loading texts. When the operator chooses another language, the toolbar switches at once; a filter menu or column menu already opened on a table switches when the page is reloaded.

## Related

- [Trend tags](/docs/eaxscada/how-to/use-trends/): the chart and the table of the same samples in one card.
- [Set up shift logs](/docs/eaxscada/how-to/set-up-shift-logs/#3-add-a-log): the logs grid of the Studio's shift log settings.
