Explore the API
Conditional formatting
Explore a 36-project scorecard with data bars, heatmaps, traffic lights, late-day alerts, formula rules, and duplicate owner highlighting.
ResultLive API output
Blue bars = budget; heatmap = margin; traffic lights = delivery; red = overdue; amber = escalated projects; purple = shared owners.
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
Conditional formatting
Six rule families encode different business signals: budget magnitude uses data bars, margin uses a color scale, delivery uses icons, late days use a numeric threshold, status highlights rows using a formula, and shared owners use duplicate-value formatting. Change the first project's health to see several rules react together. Remove and reapply the rules to compare them with the base document styles.
APIs used
Workbook.addConditionalRule()
Workbook.listConditionalRules()
Workbook.deleteConditionalRule()
Cell.displayStyle
How to explore
Explore a 36-project scorecard with data bars, heatmaps, traffic lights, late-day alerts, formula rules, and duplicate owner highlighting.
Blue bars = budget; heatmap = margin; traffic lights = delivery; red = overdue; amber = escalated projects; purple = shared owners.
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