Explore the API
Format cells and ranges
Style an 18-assignment travel budget and compare stored numeric values with euro and percentage formats.
ResultLive API output
Compare the stored numeric value with the styled grid. The report header uses your chosen fill.
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
Format cells and ranges
Range.format patches the selected style properties while retaining cell values and formulas. Number-format codes change presentation. Column widths use explicit pixel measurements.
APIs used
Range.format()
Dimension.setWidth()
Cell.value
How to explore
Style an 18-assignment travel budget and compare stored numeric values with euro and percentage formats.
Compare the stored numeric value with the styled grid. The report header uses your chosen fill.
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