# SpreadsheetOptions.highlightDependents Property

> SpreadsheetOptions.highlightDependents property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > SpreadsheetOptions > SpreadsheetOptions.highlightDependents Property
- **512 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/highlightdependents-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/highlightdependents-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/highlightdependents-property/llms-full.txt

---

Sets whether committed cell edits briefly highlight downstream formula cells in green. The default is `true`.

Owner: [SpreadsheetOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

### Syntax

```typescript
highlightDependents?: boolean
```

### Examples

```typescript
import { Spreadsheet } from '@txtextcontrol/tx-sheet-control';

async function createEditor(host: HTMLElement, license: string) {
    const editor = new Spreadsheet(host, { license, highlightDependents: false });
    await editor.ready;
    const sheet = editor.workbook.sheets.at(0);
    sheet.cell('B1').setFormula('=A1*2');
    sheet.cell('A1').setValue(25);
    editor.ui.highlightDependents = true;
    return editor;
}
```

### Remarks

The editor highlights direct and transitive formula dependents for about 1.4 seconds, then fades the feedback away. References through ranges and other worksheets participate in the dependency graph. Cross-sheet highlights appear if that worksheet is viewed while the feedback is active. The edited cell itself is excluded. Unchanged values and formatting-only edits do not start feedback.

The **Formulas → Formula Auditing → Highlight Dependents** toggle and `editor.ui.highlightDependents` share the same state. Setting the property to `false` immediately clears active feedback. Only boolean values are accepted; invalid values raise `TypeError`. Access after editor teardown raises an error.

This is a browser-editor preference, retained across document loads. It does not change cells, formatting, history, saved workbooks or exported files. Reduced-motion mode shows brief static feedback instead of fading. Server processing has no visual effect.

---

## Nearby

- **Previous:** [SpreadsheetOptions.ribbon Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/ribbon-property/llms-full.txt)
- **Next:** [StreamType Enumeration](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/streamtype/llms-full.txt)
