# Workbook Class

> Workbook class in the browser JavaScript API: Licensed workbook model. Active-sheet methods use the selected worksheet; retained handles bind explicit sheets.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Path:** TX Sheet Control > API Reference > JavaScript API > Browser Editor > Workbook Class
- **2564 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/llms-full.txt

---

Licensed workbook model. Active-sheet methods use the selected worksheet; retained handles bind explicit sheets.

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

ES module import: `import { Workbook } from '@txtextcontrol/tx-sheet-control';`.

### Constructor

```javascript
new Workbook(options)
```

| Parameter | Type | Optional | Description |
|---|---|---|---|
| `options` | `WorkbookOptions \| undefined` | Yes | Supported settings for this operation; omitted settings retain documented defaults. |

Returns: `WorkbookInstance`.

### Members

#### Properties

| Property | Description |
|---|---|
| [activeSheetId](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/activesheetid-property/llms-full.txt) | The activeSheetId value of Workbook. |
| [activeSheetName](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/activesheetname-property/llms-full.txt) | The activeSheetName value of Workbook. |
| [activeView](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/activeview-property/llms-full.txt) | The sole sheet or dashboard view displayed by the integrated editor. |
| [analytics](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/analytics-property/llms-full.txt) | Workbook-wide deterministic data profiling, relationships and asynchronous queries. |
| [autoExpand](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/autoexpand-property/llms-full.txt) | The autoExpand value of Workbook. |
| [calculation](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/calculation-property/llms-full.txt) | The calculation value of Workbook. |
| [cellTypes](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/celltypes-property/llms-full.txt) | The cellTypes value of Workbook. |
| [columns](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/columns-property/llms-full.txt) | The columns value of Workbook. |
| [dashboards](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/dashboards-property/llms-full.txt) | Independent first-class dashboard definitions, persisted by .txwb and .ods. |
| [dateSystem](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/datesystem-property/llms-full.txt) | The dateSystem value of Workbook. |
| [events](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/events-property/llms-full.txt) | The events value of Workbook. |
| [history](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/history-property/llms-full.txt) | The history value of Workbook. |
| [maxColumns](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/maxcolumns-property/llms-full.txt) | The maxColumns value of Workbook. |
| [maxRows](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/maxrows-property/llms-full.txt) | The maxRows value of Workbook. |
| [names](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/names-property/llms-full.txt) | The names value of Workbook. |
| [rows](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/rows-property/llms-full.txt) | The rows value of Workbook. |
| [search](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/search-property/llms-full.txt) | The search value of Workbook. |
| [sheets](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/sheets-property/llms-full.txt) | The sheets value of Workbook. |
| [userName](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/username-property/llms-full.txt) | The userName value of Workbook. |

#### Methods

| Method | Description |
|---|---|
| [addConditionalRule](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/addconditionalrule-method/llms-full.txt) | Adds a validated active-sheet rule; returns its stable ID (maximum 200 rules). |
| [addSparklines](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/addsparklines-method/llms-full.txt) | Active-sheet sparkline operation; validated, persisted and undoable. |
| [applyCellStyle](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/applycellstyle-method/llms-full.txt) | Applies a named style to the active-sheet range in one undo operation. |
| [batch](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/batch-method/llms-full.txt) | The batch operation of Workbook. |
| [clearFilters](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/clearfilters-method/llms-full.txt) | Removes filter criteria while keeping the filter range. |
| [clearSparklines](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/clearsparklines-method/llms-full.txt) | Active-sheet sparkline operation; validated, persisted and undoable. |
| [consolidate](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/consolidate-method/llms-full.txt) | Consolidates same-sheet ranges in one undo operation. |
| [createCellStyle](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/createcellstyle-method/llms-full.txt) | Creates a workbook-wide style; returns its stable ID. |
| [createMailMergeTemplate](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/createmailmergetemplate-method/llms-full.txt) | The createMailMergeTemplate operation of Workbook. |
| [deleteConditionalRule](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/deleteconditionalrule-method/llms-full.txt) | Removes the active-sheet conditional rule in one undo operation. |
| [ensureSize](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/ensuresize-method/llms-full.txt) | The ensureSize operation of Workbook. |
| [getAutoFilter](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/getautofilter-method/llms-full.txt) | Returns the active-sheet filter as a detached snapshot. |
| [getMailMerge](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/getmailmerge-method/llms-full.txt) | The getMailMerge operation of Workbook. |
| [getSparklineGroups](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/getsparklinegroups-method/llms-full.txt) | Active-sheet sparkline operation; validated, persisted and undoable. |
| [listConditionalRules](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/listconditionalrules-method/llms-full.txt) | Lists detached active-sheet conditional rules, optionally intersecting a range. |
| [listNamedStyles](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/listnamedstyles-method/llms-full.txt) | Lists detached workbook-wide named style definitions. |
| [load](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/load-method/llms-full.txt) | Loads XLSX/TXWB bytes or CSV/XML/JSON text/UTF-8 bytes atomically. Tabular formats replace the workbook with one worksheet. |
| [merge](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/merge-method/llms-full.txt) | The merge operation of Workbook. |
| [onChange](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/onchange-method/llms-full.txt) | The onChange operation of Workbook. |
| [previewConsolidate](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/previewconsolidate-method/llms-full.txt) | Previews a bounded consolidation without modifying the destination. |
| [previewRemoveDuplicates](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/previewremoveduplicates-method/llms-full.txt) | Previews retained/removed rows without changing data or history. |
| [previewTextToColumns](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/previewtexttocolumns-method/llms-full.txt) | Previews splitting a single source column without writing cells. |
| [recalculate](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/recalculate-method/llms-full.txt) | The recalculate operation of Workbook. |
| [removeDuplicates](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/removeduplicates-method/llms-full.txt) | Removes duplicates in the selected range in one undo operation. |
| [save](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/save-method/llms-full.txt) | Saves a snapshot with reusable format-specific options; PDF is save-only. |
| [saveText](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/savetext-method/llms-full.txt) | Saves CSV, XML or JSON text with flat settings. Omits a generated CSV BOM; UTF-8 byte limits/events still include it. Does not change the workbook or options. |
| [setAutoFilter](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/setautofilter-method/llms-full.txt) | Sets/removes the active-sheet filter; criteria are native validated filter definitions. |
| [setFormulaProvider](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/setformulaprovider-method/llms-full.txt) | The setFormulaProvider operation of Workbook. |
| [setMailMerge](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/setmailmerge-method/llms-full.txt) | The setMailMerge operation of Workbook. |
| [setTheme](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/settheme-method/llms-full.txt) | Changes the workbook's twelve native theme colors in one undo operation. |
| [sortRange](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/sortrange-method/llms-full.txt) | Sorts the active sheet in one undoable operation; rejects merged ranges and invalid keys. |
| [textToColumns](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/texttocolumns-method/llms-full.txt) | Applies the split in one undo operation; rejects occupied targets unless overwrite is true. |
| [updateCellStyle](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/updatecellstyle-method/llms-full.txt) | Updates a named style; affected cells on every sheet inherit the update. |
| [updateConditionalRule](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/updateconditionalrule-method/llms-full.txt) | Updates the active-sheet rule with the given ID; rejects unknown IDs. |
| [updateSparklineGroup](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/updatesparklinegroup-method/llms-full.txt) | Active-sheet sparkline operation; validated, persisted and undoable. |

### Examples

Use a fresh workbook. Create and format the sample data, apply this API and retain the returned document or result in your application. In the browser pass editor.workbook; in Node.js pass the server control.

```javascript
function createWorkbookReport(book) {
    const sheet = book.sheets.at(0);
    sheet.cell('A1').setText('October invoice');
    sheet.cell('A1').format({
        fontFamily: 'Liberation Sans',
        fontSize: 16,
        bold: true,
        textColor: '#ffffff',
        fillColor: '#163b63',
    });

    sheet.columns.at(0).setWidth({ pixels: 240 });
    sheet.range('B8:B9').setValues([[120], [80]]);
    sheet.cell('B10').setFormula('=SUM(B8:B9)');
    sheet.range('B8:B10').format({ numberFormatCode: '#,##0.00', fontSize: 11 });
    return sheet;
}
```

### See Also

- [JavaScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)
- [pivotTables](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/pivottables-property/llms-full.txt) — Configure and refresh worksheet pivot tables.

---

## In This Section

- [Workbook.activeSheetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/activesheetid-property/llms-full.txt): Workbook.activeSheetId property in the TX Sheet Control JavaScript API for the browser, with its type string and a JavaScript example.
- [Workbook.activeSheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/activesheetname-property/llms-full.txt): Workbook.activeSheetName property in the TX Sheet Control JavaScript API for the browser, with its type string and a JavaScript example.
- [Workbook.activeView Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/activeview-property/llms-full.txt): Workbook.activeView property in the TX Sheet Control JavaScript API for the browser: The sole sheet or dashboard view displayed by the integrated editor.
- [Workbook.addConditionalRule Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/addconditionalrule-method/llms-full.txt): Workbook.addConditionalRule method in the TX Sheet Control JavaScript API for the browser: Adds a validated active-sheet rule.
- [Workbook.addSparklines Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/addsparklines-method/llms-full.txt): Workbook.addSparklines method in the TX Sheet Control JavaScript API for the browser: Active-sheet sparkline operation; validated, persisted and undoable.
- [Workbook.analytics Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/analytics-property/llms-full.txt): Workbook.analytics property in the browser JavaScript API: Workbook-wide deterministic data profiling, relationships and asynchronous queries.
- [Workbook.applyCellStyle Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/applycellstyle-method/llms-full.txt): Workbook.applyCellStyle method in the TX Sheet Control JavaScript API for the browser: Applies a named style to the active-sheet range in one undo operation.
- [Workbook.autoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/autoexpand-property/llms-full.txt): Workbook.autoExpand property in the TX Sheet Control JavaScript API for the browser, with its type boolean and a JavaScript example.
- [Workbook.batch Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/batch-method/llms-full.txt): Workbook.batch method in the browser JavaScript API: Runs an action as one batch with an optional source string and returns void, with a JavaScript example.
- [Workbook.calculation Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/calculation-property/llms-full.txt): Workbook.calculation property in the TX Sheet Control JavaScript API for the browser, with its type WorkbookCalculation and a JavaScript example.
- [Workbook.cellTypes Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/celltypes-property/llms-full.txt): Workbook.cellTypes property in the TX Sheet Control JavaScript API for the browser, with its type CellTypeRegistry and a JavaScript example.
- [Workbook.clearFilters Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/clearfilters-method/llms-full.txt): Workbook.clearFilters method in the TX Sheet Control JavaScript API for the browser: Removes filter criteria while keeping the filter range.
- [Workbook.clearSparklines Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/clearsparklines-method/llms-full.txt): Workbook.clearSparklines method in the TX Sheet Control JavaScript API for the browser: Active-sheet sparkline operation.
- [Workbook.columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/columns-property/llms-full.txt): Workbook.columns property in the TX Sheet Control JavaScript API for the browser, with its type number and a JavaScript example.
- [Workbook.consolidate Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/consolidate-method/llms-full.txt): Workbook.consolidate method in the TX Sheet Control JavaScript API for the browser: Consolidates same-sheet ranges in one undo operation.
- [Workbook.createCellStyle Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/createcellstyle-method/llms-full.txt): Workbook.createCellStyle method in the TX Sheet Control JavaScript API for the browser: Creates a workbook-wide style; returns its stable ID.
- [Workbook.createMailMergeTemplate Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/createmailmergetemplate-method/llms-full.txt): Workbook.createMailMergeTemplate method in the TX Sheet Control JavaScript API for the browser, with the return type MailMergeTemplate and a JavaScript example.
- [Workbook.dashboards Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/dashboards-property/llms-full.txt): Workbook.dashboards property in the TX Sheet Control JavaScript API for the browser: Independent first-class dashboard definitions, persisted by .txwb and .ods.
- [Workbook.dateSystem Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/datesystem-property/llms-full.txt): Workbook.dateSystem property in the TX Sheet Control JavaScript API for the browser, with its type "1900" | "1904" and a JavaScript example.
- [Workbook.deleteConditionalRule Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/deleteconditionalrule-method/llms-full.txt): Workbook.deleteConditionalRule method in the TX Sheet Control JavaScript API for the browser: Removes the active-sheet conditional rule in one undo operation.
- [Workbook.ensureSize Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/ensuresize-method/llms-full.txt): Workbook.ensureSize method in the TX Sheet Control JavaScript API for the browser, with the return type boolean and a JavaScript example.
- [Workbook.events Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/events-property/llms-full.txt): Workbook.events property in the TX Sheet Control JavaScript API for the browser, with its type WorkbookEvents and a JavaScript example.
- [Workbook.getAutoFilter Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/getautofilter-method/llms-full.txt): Workbook.getAutoFilter method in the TX Sheet Control JavaScript API for the browser: Returns the active-sheet filter as a detached snapshot.
- [Workbook.getMailMerge Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/getmailmerge-method/llms-full.txt): Workbook.getMailMerge method in the TX Sheet Control JavaScript API for the browser, with the return type MailMergeMetadata | null and a JavaScript example.
- [Workbook.getSparklineGroups Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/getsparklinegroups-method/llms-full.txt): Workbook.getSparklineGroups method in the TX Sheet Control JavaScript API for the browser: Active-sheet sparkline operation.
- [Workbook.history Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/history-property/llms-full.txt): Workbook.history property in the TX Sheet Control JavaScript API for the browser, with its type { undo(): void; redo(): void; } and a JavaScript example.
- [Workbook.listConditionalRules Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/listconditionalrules-method/llms-full.txt): Workbook.listConditionalRules method in the browser JavaScript API: Lists detached active-sheet conditional rules, optionally intersecting a range.
- [Workbook.listNamedStyles Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/listnamedstyles-method/llms-full.txt): Workbook.listNamedStyles method in the TX Sheet Control JavaScript API for the browser: Lists detached workbook-wide named style definitions.
- [Workbook.load Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/load-method/llms-full.txt): Workbook.load method in the TX Sheet Control JavaScript API for the browser: Loads XLSX/TXWB bytes or CSV/XML/JSON text/UTF-8 bytes atomically.
- [Workbook.maxColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/maxcolumns-property/llms-full.txt): Workbook.maxColumns property in the TX Sheet Control JavaScript API for the browser, with its type number and a JavaScript example.
- [Workbook.maxRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/maxrows-property/llms-full.txt): Workbook.maxRows property in the TX Sheet Control JavaScript API for the browser, with its type number and a JavaScript example.
- [Workbook.merge Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/merge-method/llms-full.txt): Workbook.merge method in the browser JavaScript API: Merges a data record with optional MailMergeOptions and returns warnings, formula errors and repeat ranges.
- [Workbook.names Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/names-property/llms-full.txt): Workbook.names property in the TX Sheet Control JavaScript API for the browser, with its type NamedRangeCollection and a JavaScript example.
- [Workbook.onChange Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/onchange-method/llms-full.txt): Workbook.onChange method in the TX Sheet Control JavaScript API for the browser, with the return type () => void and a JavaScript example.
- [Workbook.pivotTables Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/pivottables-property/llms-full.txt): Workbook.pivotTables property in the TX Sheet Control JavaScript API for the browser: The pivot collection for the workbook.
- [Workbook.previewConsolidate Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/previewconsolidate-method/llms-full.txt): Workbook.previewConsolidate method in the TX Sheet Control JavaScript API for the browser: Previews a bounded consolidation without modifying the destination.
- [Workbook.previewRemoveDuplicates Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/previewremoveduplicates-method/llms-full.txt): Workbook.previewRemoveDuplicates method in the TX Sheet Control JavaScript API for the browser: Previews retained/removed rows without changing data or history.
- [Workbook.previewTextToColumns Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/previewtexttocolumns-method/llms-full.txt): Workbook.previewTextToColumns method in the TX Sheet Control JavaScript API for the browser: Previews splitting a single source column without writing cells.
- [Workbook.recalculate Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/recalculate-method/llms-full.txt): Workbook.recalculate method in the TX Sheet Control JavaScript API for the browser, with its syntax and a JavaScript example.
- [Workbook.removeDuplicates Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/removeduplicates-method/llms-full.txt): Workbook.removeDuplicates method in the TX Sheet Control JavaScript API for the browser: Removes duplicates in the selected range in one undo operation.
- [Workbook.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/rows-property/llms-full.txt): Workbook.rows property in the TX Sheet Control JavaScript API for the browser, with its type number and a JavaScript example.
- [Workbook.save Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/save-method/llms-full.txt): Workbook.save method in the TX Sheet Control JavaScript API for the browser: Saves a snapshot with reusable format-specific options; PDF is save-only.
- [Workbook.saveText Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/savetext-method/llms-full.txt): Workbook.saveText method in the TX Sheet Control JavaScript API for the browser: Saves CSV, XML or JSON text with flat settings.
- [Workbook.search Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/search-property/llms-full.txt): Workbook.search property in the TX Sheet Control JavaScript API for the browser, with its type WorkbookSearch and a JavaScript example.
- [Workbook.setAutoFilter Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/setautofilter-method/llms-full.txt): Workbook.setAutoFilter method in the TX Sheet Control JavaScript API for the browser: Sets/removes the active-sheet filter.
- [Workbook.setFormulaProvider Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/setformulaprovider-method/llms-full.txt): Workbook.setFormulaProvider method in the TX Sheet Control JavaScript API for the browser, with its syntax and a JavaScript example.
- [Workbook.setMailMerge Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/setmailmerge-method/llms-full.txt): Workbook.setMailMerge method in the TX Sheet Control JavaScript API for the browser, with its syntax and a JavaScript example.
- [Workbook.setTheme Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/settheme-method/llms-full.txt): Workbook.setTheme method in the TX Sheet Control JavaScript API for the browser: Changes the workbook's twelve native theme colors in one undo operation.
- [Workbook.sheets Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/sheets-property/llms-full.txt): Workbook.sheets property in the TX Sheet Control JavaScript API for the browser, with its type SheetCollection and a JavaScript example.
- [Workbook.sortRange Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/sortrange-method/llms-full.txt): Workbook.sortRange method in the TX Sheet Control JavaScript API for the browser: Sorts the active sheet in one undoable operation.
- [Workbook.textToColumns Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/texttocolumns-method/llms-full.txt): Workbook.textToColumns method in the TX Sheet Control JavaScript API for the browser: Applies the split in one undo operation.
- [Workbook.updateCellStyle Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/updatecellstyle-method/llms-full.txt): Workbook.updateCellStyle method in the TX Sheet Control JavaScript API for the browser: Updates a named style; affected cells on every sheet inherit the update.
- [Workbook.updateConditionalRule Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/updateconditionalrule-method/llms-full.txt): Workbook.updateConditionalRule method in the TX Sheet Control JavaScript API for the browser: Updates the active-sheet rule with the given ID.
- [Workbook.updateSparklineGroup Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/updatesparklinegroup-method/llms-full.txt): Workbook.updateSparklineGroup method in the TX Sheet Control JavaScript API for the browser: Active-sheet sparkline operation.
- [Workbook.userName Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/username-property/llms-full.txt): Workbook.userName property in the TX Sheet Control JavaScript API for the browser, with its type string and a JavaScript example.

---

## Nearby

- **Previous:** [version Constant](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/version-constant/llms-full.txt)
- **Next:** [Workbook.activeSheetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/workbook/activesheetid-property/llms-full.txt)
