# OpenDocumentSpreadsheetLoadOptions.maxEditableCells Property

> OpenDocumentSpreadsheetLoadOptions.maxEditableCells property in the TX Sheet Control Angular package: Maximum projected stored cells; defaults to 1000000.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Angular > OpenDocumentSpreadsheetLoadOptions > OpenDocumentSpreadsheetLoadOptions.maxEditableCells Property
- **263 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/opendocumentspreadsheetloadoptions/maxeditablecells-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/opendocumentspreadsheetloadoptions/maxeditablecells-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/opendocumentspreadsheetloadoptions/maxeditablecells-property/llms-full.txt

---

Maximum projected stored cells; defaults to 1000000.

### Syntax

```typescript
maxEditableCells?: number;
```

### Example

The application supplies editor and, for loading, `inputBytes`.

```typescript
import { StreamType, type Spreadsheet, type OpenDocumentSpreadsheetLoadOptions } from '@txtextcontrol/tx-sheet-control';

async function loadInvoice(editor: Spreadsheet, inputBytes: Uint8Array) {
    const options: OpenDocumentSpreadsheetLoadOptions = { maxEditableCells: 100000 };
    return editor.load(inputBytes, StreamType.OpenDocumentSpreadsheet, { openDocumentSpreadsheet: options });
}
```

### See Also

- [OpenDocumentSpreadsheetLoadOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/opendocumentspreadsheetloadoptions/llms-full.txt)

---

## Nearby

- **Previous:** [OpenDocumentSpreadsheetLoadOptions.maxColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/opendocumentspreadsheetloadoptions/maxcolumns-property/llms-full.txt)
- **Next:** [OpenDocumentSpreadsheetLoadOptions.maxEntries Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/opendocumentspreadsheetloadoptions/maxentries-property/llms-full.txt)
