> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Highlight key data

> How to highlight key data in Atoti UI table widgets by emphasizing a cell's row and column on hover, with an optional pinned highlight whose shape and color are configurable.

**Focus cell** is a feature for [tables for aggregated data](https://docs.activeviam.com/data-visualization/atoti-ui/5.2/user-guide/create-a-dashboard/widgets/about-widgets.md#tables-for-aggregated-data). Hovering over a cell always highlights its full row and full column, forming a crosshair pattern. Clicking a cell pins the highlight; the shape of the pinned highlight can be configured. This makes it easier to read values across large tables by visually anchoring a cell's position. The feature is off by default and can be enabled as a user preference or for a specific widget.

## How to enable Focus cell

**Focus cell** can be enabled at two levels: as a user preference in the [**Settings**](https://docs.activeviam.com/data-visualization/atoti-ui/5.2/user-guide/navigate-atoti-ui/settings.md) popup, or individually for a specific widget. The preference acts as the default for table widgets that don't override it.

To enable **Focus cell** as a user preference:

1. Open the [**Settings**](https://docs.activeviam.com/data-visualization/atoti-ui/5.2/user-guide/navigate-atoti-ui/settings.md) popup.
2. Toggle **Focus cell** on.

Widgets that do not have an explicit per-widget override follow this preference. Changing it therefore affects all such widgets, whether existing or new.

To enable **Focus cell** for a specific widget:

1. Open the **Behavior** tab from the **Tools panel**, next to the [data model](https://docs.activeviam.com/data-visualization/atoti-ui/5.2/user-guide/navigate-atoti-ui/data-model.md) on the left of the application.
2. Toggle **Focus cell** on or off for the target widget.

The per-widget toggle overrides the user preference for that widget.

> [!TIP]
>
> Use the per-widget toggle to enable **Focus cell** on a specific table without
> changing the preference for other widgets.

## How does hovering highlight cells?

When **Focus cell** is enabled, hovering over any data, total, or subtotal cell highlights its full row and full column. The hovered cell itself is not highlighted, so its text remains easy to read.

Moving the cursor to a different cell shifts the highlight to that cell.

![Pivot table with Focus cell enabled, showing the row and column of the
hovered cell
highlighted](https://mintcdn.com/activeviam/6HeHK8nCkGvZilsK/data-visualization/atoti-ui/5.2/static/img/user-guide/analyze-data/highlight-key-data/focus-cell-hover.png?fit=max\&auto=format\&n=6HeHK8nCkGvZilsK\&q=85\&s=4277e51a97e00df9390f2261ed70a819)

## How to pin a highlight

When **Focus cell** is enabled, clicking a data, total, or subtotal cell pins the highlight at that position. The pinned highlight remains visible even after the cursor moves away. It uses a stronger shade than the hover highlight, making it easy to distinguish.

To move the pin, click a different cell. To clear it entirely, press **Escape**. There is only one pinned cell per widget at a time.

![Pivot table with a clicked cell pinned, keeping its row and column
highlighted after the cursor moves
away](https://mintcdn.com/activeviam/6HeHK8nCkGvZilsK/data-visualization/atoti-ui/5.2/static/img/user-guide/analyze-data/highlight-key-data/focus-cell-pinned.png?fit=max\&auto=format\&n=6HeHK8nCkGvZilsK\&q=85\&s=0236f0cce43c9dee9e0fa8c2e18ad5d3)

## How to choose the highlight shape

The shape controls which part of the table is highlighted when clicking a cell. The hover highlight always shows the full crosshair regardless of this setting. There are three options:

* **Row and column**: highlights both the full row and the full column. This is the default.
* **Row only**: highlights only the full row.
* **Column only**: highlights only the full column.

The shape can be set as a user preference that applies to all table widgets, or overridden for a specific widget.

To change the highlight shape as a user preference:

1. Open the [**Settings**](https://docs.activeviam.com/data-visualization/atoti-ui/5.2/user-guide/navigate-atoti-ui/settings.md) popup.
2. From the **Focus cell shape** dropdown, select **Row and column**, **Row only**, or **Column only**.

To set the highlight shape for a specific widget:

1. [Enable **Focus cell**](#how-to-enable-focus-cell) for the widget if it is not already on.
2. In the **Behavior** tab, select the desired shape from the **Focus shape on click** dropdown.

The per-widget setting overrides the user preference for that widget.

> [!TIP]
>
> Use the per-widget setting to apply a different shape to a specific table
> without changing the preference for other widgets.

## How to customize the highlight color

The **Focus color** setting controls the color used for both the hover highlight and the pinned highlight. It is a user preference set in the [**Settings**](https://docs.activeviam.com/data-visualization/atoti-ui/5.2/user-guide/navigate-atoti-ui/settings.md) popup. There is no per-widget override for the color. The default is yellow.

To change the highlight color:

1. Open the [**Settings**](https://docs.activeviam.com/data-visualization/atoti-ui/5.2/user-guide/navigate-atoti-ui/settings.md) popup.
2. Click the **Focus color** swatch tile to open the color popover.
3. Select a color from the preset palette, or type a value directly into the **Hex** input field.
4. To restore the default color, click **Reset** inside the popover.
5. Click **Apply** to confirm the change, or **Cancel** to discard it.

![Settings popup with the Focus color swatch showing a color picker to choose
the highlight
color](https://mintcdn.com/activeviam/6HeHK8nCkGvZilsK/data-visualization/atoti-ui/5.2/static/img/user-guide/analyze-data/highlight-key-data/focus-color.png?fit=max\&auto=format\&n=6HeHK8nCkGvZilsK\&q=85\&s=5c66fab877259118954a4f327bcd61c3)
