Spreadsheet Editor
The browser spreadsheet editor of TX Sheet Control is where users author workbooks: they enter values and formulas, format cells, insert tables and charts and prepare printed reports. Find out what users see in the editor and how your application controls it in code, from the theme and the interface language to batched edits, undo and events.
What the Editor Consists of
The parts users work with:
- The main areas. The ribbon, the name box, the formula bar, the grid with its headings, the worksheet and dashboard tabs and the status bar.
- The ribbon groups the commands in tabs such as Home, Insert, Data and Formulas. Contextual tabs such as Table Design, Chart Design and Header & Footer appear for the relevant selection, and a dashboard in design mode replaces the worksheet ribbon with dashboard commands.
- The dialogs. Format Cells combines number display, alignment, font, border, fill and protection settings. The chart dialog creates and edits worksheet charts. The Formula Designer finds functions and previews a formula's result.
The parts your code works with:
editor.ui, the EditorUi of the editor, sets the theme, the interface language, the visible areas and the zoom. It also selects sheets, ranges, charts and drawings.- The workbook groups edits into one undo step with batch, undoes and redoes them through history and reports changes and file operations through events.
Dashboards have a ribbon tab here, but their designer, viewer and Widget Settings dialog are described in Dashboards.
Find the Right Page
| If you want to | Read |
|---|---|
| Know the main areas of the editor and rename or manage tabs | Spreadsheet Editor Tour |
| Find the command for a task on a ribbon tab or a contextual tab | Ribbon and Contextual Commands |
| Set number formats, alignment, fonts, borders, fills and cell protection | Format Cells Dialog |
| Insert a worksheet chart, or change its type, data range and legend | Chart Dialogs |
| Build a formula with a result preview, or trace precedents and dependents | Formula Designer |
| Switch to the dark theme, change the interface language or register language resources | Appearance and Localization |
| Know the keyboard interaction, and build an accessible page around the editor | Keyboard and Accessibility |
| Keep headings in view, split a worksheet or select ranges from code | Freeze Panes and Selection |
| Make several edits one undo step, or undo and redo them in code | Batch Updates, Undo and Redo |
| React to edits and file operations, or cancel an operation | Events and Cancellation |
Where to Start
- Spreadsheet Editor in Getting Started, if no editor runs in your application yet.
- Spreadsheet Editor Tour: the areas of the editor and what users do in each.
- Ribbon and Contextual Commands: the commands of every tab, with an example task each.
- Events and Cancellation, once your application has to react to what users do.
Pages in This Section
- Spreadsheet Editor Tour: the main areas, entering values and formulas, formatting the selection and managing tabs.
- Ribbon and Contextual Commands: every ribbon tab and contextual tab, with its groups and an example task.
- Format Cells Dialog: the Number, Alignment, Font, Border, Fill and Protection tabs.
- Chart Dialogs: chart families and variants, the preview and the data, title and legend settings.
- Formula Designer: building formulas, tracing dependencies and writing formulas in code.
- Appearance and Localization: theme, interface language, locale and currency, language resources and document styling.
- Keyboard and Accessibility: keyboard interaction, the host page, accessible dashboards and testing.
- Freeze Panes and Selection: frozen and split views, selecting from code and printing frozen worksheets.
- Batch Updates, Undo and Redo: batched edits, the undo history and large writes.
- Events and Cancellation: workbook events, before-events, cancellation and the events of Razor and Angular.