# SheetControl.destroy Method

> SheetControl.destroy method in the TX Sheet Control JavaScript API for the browser, with its syntax and a JavaScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > JavaScript API > Browser Editor > SheetControl > SheetControl.destroy Method
- **261 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/sheetcontrol/destroy-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/sheetcontrol/destroy-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/sheetcontrol/destroy-method/llms-full.txt

---

The destroy operation of SheetControl.

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

### Syntax

```javascript
owner.destroy()
```

This overload has no parameters.

### Return Value

`void`.

### Examples

Pass an existing SheetControl from the owning document. Related handles and input bytes must belong to the intended document and application; the function applies the operation and inspects its result.

```javascript
function applySheetControlDestroy(sheetControl) {
    sheetControl['destroy']();
}
```

### 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

- [SheetControl Class](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/sheetcontrol/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## Nearby

- **Previous:** [SheetControl Class](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/sheetcontrol/llms-full.txt)
- **Next:** [SheetControl.host Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/sheetcontrol/host-property/llms-full.txt)
