TX Sheet Control

SpreadsheetOptions.highlightDependents Property

Property

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

Owner: SpreadsheetOptions. Package: @txtextcontrol/tx-sheet-control/angular. Version: 2.0.0.

Syntax

highlightDependents?: boolean

Examples

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.