TX Sheet Control

Spreadsheet Editor

Topic

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 toRead
Know the main areas of the editor and rename or manage tabsSpreadsheet Editor Tour
Find the command for a task on a ribbon tab or a contextual tabRibbon and Contextual Commands
Set number formats, alignment, fonts, borders, fills and cell protectionFormat Cells Dialog
Insert a worksheet chart, or change its type, data range and legendChart Dialogs
Build a formula with a result preview, or trace precedents and dependentsFormula Designer
Switch to the dark theme, change the interface language or register language resourcesAppearance and Localization
Know the keyboard interaction, and build an accessible page around the editorKeyboard and Accessibility
Keep headings in view, split a worksheet or select ranges from codeFreeze Panes and Selection
Make several edits one undo step, or undo and redo them in codeBatch Updates, Undo and Redo
React to edits and file operations, or cancel an operationEvents and Cancellation

Where to Start

  1. Spreadsheet Editor in Getting Started, if no editor runs in your application yet.
  2. Spreadsheet Editor Tour: the areas of the editor and what users do in each.
  3. Ribbon and Contextual Commands: the commands of every tab, with an example task each.
  4. Events and Cancellation, once your application has to react to what users do.

Pages in This Section