Explore the API
Rows and columns
Insert a new sales row, resize dimensions, and hide or reveal the Quarter column. Reset restores the original structure.
Try this workflowExplore and compare
Change the inputs, run an action, and inspect the live result below.
ResultLive API output
The output reports row count, inserted content, and the column's hidden state.
Preparing sample...
Keep exploringReset or save
Reset restores this sample's starting document. TXWB retains its spreadsheet, dashboard, and reporting definitions.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Rows and columns
Worksheet-bound dimension collections use zero-based insertion indices. Size methods accept explicit units. Hiding preserves values and differs from deleting a column.
APIs used
sheet.rows.insert()
sheet.rows.remove()
sheet.columns.setHidden()
Dimension.setHeight()
How to explore
Insert a new sales row, resize dimensions, and hide or reveal the Quarter column. Reset restores the original structure.
The output reports row count, inserted content, and the column's hidden state.
Document ownership
The ready event supplies the initialized editor. Each action resolves document objects from the current workbook. Reset loads a clean TXWB snapshot; worksheet, range, chart, and dashboard handles must be acquired again after loading.
The Code panel shows this sample's actual implementation and the shared hosting code. Downloads contain the current document; changes are not stored on the server.
NuGet packages
TXTextControl.TXSheetControl.AspNetCore
2.0.0-beta.1
Provides the Razor spreadsheet editor, browser APIs, and packaged fonts.
dotnet add package TXTextControl.TXSheetControl.AspNetCore --version 2.0.0-beta.1