# CellTypeRegistry.remove Method

> CellTypeRegistry.remove method in the TX Sheet Control JavaScript API for the browser, with the return type boolean and a JavaScript example.

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

---

Removes a runtime registration; stored cells retain their renderer name for another host to supply.

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

### Syntax

```javascript
owner.remove(name)
```

### Parameters

| Parameter | Type | Optional | Description |
|---|---|---|---|
| `name` | `string` | No | Name validated in the owning collection or document scope. |

### Return Value

`boolean`.

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

```javascript
function applyCellTypeRegistryRemove(book) {
    const cellTypeRegistry = book.cellTypes;
    const result = cellTypeRegistry.remove('approval');
    return result;
}
```

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

- [CellTypeRegistry Class](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/celltyperegistry/llms-full.txt)
- [Data Validation](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/validation/llms-full.txt)

---

## Nearby

- **Previous:** [CellTypeRegistry.register Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/celltyperegistry/register-method/llms-full.txt)
- **Next:** [ChartCollection Class](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/chartcollection/llms-full.txt)
