# Range.values Property

> Range.values property in the TX Sheet Control TypeScript API for the browser, with its type CellValue[][] and a TypeScript example.

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

---

The values value of Range.

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

### Syntax

```typescript
readonly values: CellValue[][]
```

Read through the owning object: `owner.values`. Follow the declared mutability and owning object lifetime.

### Examples

Use a fresh sample workbook for this example. In the browser pass editor.workbook; in Node.js pass the server control. Document-bound objects are obtained from that same owner.

```typescript
import type { Range } from '@txtextcontrol/tx-sheet-control';
import type { Workbook } from '@txtextcontrol/tx-sheet-control';

function readReportRangeValues(book: Workbook) {
    book.sheets
        .at(0)
        .range('B8:B9')
        .setValues([[120], [80]]);

    const range = book.sheets.at(0).range('B8:B9');

    const value = range['values'];
    return ['Range.values', value];
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [Range Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/range/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)
- [CellValue Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cellvalue/llms-full.txt)

---

## Nearby

- **Previous:** [Range.unmerge Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/range/unmerge-method/llms-full.txt)
- **Next:** [registerLanguage Function](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/registerlanguage-function/llms-full.txt)
