GUIDED API LAB
Loading lesson...
The coding workspace is preparing the first Tables API exercise.
Execution profile
Tables added—
Cells written—
Rows formatted—
Columns sized—
Formulas—
Ready to tryUse the controls above to interact with this demo.
Server-side document API
Build structured document tables
Table, TableRow, TableColumn, and TableCell provide precise access to a document grid. The API can change structure, presentation, and calculations without manually navigating the text input position for every cell.
Insert a table
ServerTextControl.Tables.Add
Address a cell
Table.Cells[row, column]
Format a row
TableRow.CellFormat and TableRow.IsHeader
Calculate a value
TableCell.Formula and TableCellFormat.NumberFormat
How the lab executes code
Every lesson starts with the same table-ready report shell. Submitted statements are parsed against an allowlist for table creation, collection lookup, cell content, row and cell formatting, column sizing, row insertion, formulas, and selection formatting; arbitrary CLR source is never compiled.
Lessons two through four use CreatePipelineTable as prepared lesson context. This keeps the editable code focused on the API concept being taught while the generated table remains a real Table in the document.
NuGet packages
TXTextControl.TextControl.Core.SDK
34.0.4
Provides the core document model and server-side document processing APIs.
dotnet add package TXTextControl.TextControl.Core.SDK --version 34.0.4