# Highlight changes

Cell change flashing briefly highlights cells changed by editing, pasting, or data transactions. It helps users locate recent changes in tables with many live prices or quantities.

Canonical: https://grid.syidax.com/docs/features/cell-change-flash/

<a id="understand"></a>

## How it works and when to use it

Unlike persistent conditional formatting, this indicator fades away. Provide an audit log if users need to review change history later.

In the code, grid is the Grid element prepared in the installation chapter. Check each example's data and settings, and implement the app functions and server endpoints for your project.

- [Installation and integration · Shared sample data](https://grid.syidax.com/docs/guides/getting-started.md)

<a id="example-1"></a>

## Example 1. Enable cell change flashing

Enable change flashing in a Grid with editable columns.

```javascript
grid.cellChangeFlash = true;
```

Verify the result: Edit a quantity cell and finish editing to see a temporary highlight on the changed cell.

<a id="example-2"></a>

## Example 2. Highlight server updates

Update a row with an existing ID through a transaction.

```javascript
const row = grid.rowData[0];
if (row) await grid.applyTransaction({ update: [{ ...row, quantity: Number(row.quantity) + 1 }] });
```

Verify the result: This makes changed cells easier to identify than replacing the entire data set. getRowId must remain consistent before and after updates.

<a id="example-3"></a>

## Example 3. Configure a high-frequency view

For many updates per second, batch incoming changes in your app and apply them at suitable intervals. If highlights appear continuously, reconsider the update interval or which cells use flashing.

Verify the result: Keep current values accurate while giving users time to see where changes occurred. Do not treat flashing itself as a success notification.

<a id="pitfalls"></a>

## Combining features and troubleshooting

Do not assign conflicting values to cellChangeFlash and its compatibility option enableCellChangeFlash. Use one configuration path.

Test the distinction between supplying a similar new object and actually changing a cell value.

<a id="related-api"></a>

## APIs used by this feature

- [cellChangeFlash](https://grid.syidax.com/docs/options/cellChangeFlash.md) — Briefly highlights cells changed by editing, pasting, or transactions.
- [enableCellChangeFlash](https://grid.syidax.com/docs/options/enableCellChangeFlash.md) — Compatibility alias for cell change flashing. Do not assign a value that conflicts with cellChangeFlash.

<a id="next"></a>

## Related reading

- [How rows, columns, and IDs relate](https://grid.syidax.com/docs/guides/concepts.md)
- [Connect results and events](https://grid.syidax.com/docs/guides/data-event-access.md)
- [Explore in Features](https://grid.syidax.com/grid/cell-change-flash) — The guide describes which interactions are available to try.
