# XWUISpreadsheet

Lightweight spreadsheet shell (formula strings are stored verbatim, not evaluated). For live formula evaluation see the power-tier `XWUISheet`.

## Basic Usage

10×5 sheet with a few pre-filled cells.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: 10×5 sheet with a few pre-filled cells.
```

## Live Formulas

A small sales sheet where the Line Total, Subtotal, Tax, and Grand Total cells carry real `=` formulas (`SUM`, `*`, `AVERAGE`) that the engine evaluates on mount.

```example
file: examples/WithFormulas.ts
html: examples/WithFormulas.html
title: Live Formulas
description: Sales sheet whose Total / Tax / Grand-Total cells use real =SUM / * / =AVERAGE formulas evaluated live by XWUIFormulaEngine.
```

## Multi-Sheet Workbook

A three-tab workbook (Q1 / Q2 / Summary) opening on the Summary tab, where each row pulls a quarter total from another sheet via cross-sheet `=Q1!B5` references.

```example
file: examples/MultiSheet.ts
html: examples/MultiSheet.html
title: Multi-Sheet Workbook
description: Q1 / Q2 / Summary tabs where the Summary sheet rolls up the per-quarter totals with cross-sheet =Q1!… references.
```

## Monthly Budget

A personal monthly budget with Budgeted vs Actual columns, a live `=Budgeted-Actual` variance per row, SUM totals, and a Remaining cell computed from income minus spend.

```example
file: examples/Budget.ts
html: examples/Budget.html
title: Monthly Budget
description: Budgeted vs Actual budget with per-row variance formulas, SUM category totals, and an income-minus-spend Remaining cell.
```

## Frozen Header & First Column

A 24-row employee roster mounted with `freezeRows: 1` and `freezeColumns: 1`, so the header row and the Name column stay pinned while the body scrolls in both directions.

```example
file: examples/FrozenHeader.ts
html: examples/FrozenHeader.html
title: Frozen Header & First Column
description: Employee roster with freezeRows 1 + freezeColumns 1 keeping the header row and Name column pinned during scroll.
```

```api
```
