# DataSnapshot Interface

> DataSnapshot interface in the browser TypeScript API: Detached rectangular page, bounded to 250,000 cells / 256 unique nonblank columns.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > DataSnapshot Interface
- **334 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/llms-full.txt

---

Detached rectangular page, bounded to 250,000 cells / 256 unique nonblank columns.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [columns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/columns-property/llms-full.txt) | The columns value of DataSnapshot. |
| [rows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/rows-property/llms-full.txt) | The rows value of DataSnapshot. |

### Examples

Pass the DataSnapshot value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

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

function inspectDataSnapshotColumns(dataSnapshot: DataSnapshot) {
    const value = dataSnapshot['columns'];
    console.log('DataSnapshot.columns', value);
}
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [DataSnapshot.columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/columns-property/llms-full.txt): DataSnapshot.columns property in the TX Sheet Control TypeScript API for the browser, with its type string[] and a TypeScript example.
- [DataSnapshot.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/rows-property/llms-full.txt): DataSnapshot.rows property in the TX Sheet Control TypeScript API for the browser, with its type DataValue[][] and a TypeScript example.

---

## Nearby

- **Previous:** [DataRequest.queryId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datarequest/queryid-property/llms-full.txt)
- **Next:** [DataSnapshot.columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datasnapshot/columns-property/llms-full.txt)
