Explore the API
Barcodes, QR codes, and shipping labels
Update the first dispatch order and watch its cell and floating codes change. Compare all nine native barcode formats, then merge a batch of customer shipping labels.
ResultLive API output
Click or double-click a barcode to select it or edit its settings. The sample uses reserved .example tracking URLs as barcode payloads; it makes no network requests to those URLs.
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
Barcodes, QR codes, and shipping labels
Cell barcodes render a cell's existing value or a live source formula without discarding its data. Floating barcodes use the same settings and can be moved and resized as drawing objects. The gallery covers Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E, ITF, Codabar, and QR. The label template repeats a row from JSON; its relative barcode sources translate to each merged order. TXWB preserves these live settings. XLSX includes compatible pictures and TX metadata; Excel displays the pictures but does not regenerate them when values change.
APIs used
cell.setBarcode()
cell.setFormula()
sheet.drawings.addBarcode()
workbook.setMailMerge()
workbook.createMailMergeTemplate()
template.merge()
How to explore
Update the first dispatch order and watch its cell and floating codes change. Compare all nine native barcode formats, then merge a batch of customer shipping labels.
Click or double-click a barcode to select it or edit its settings. The sample uses reserved .example tracking URLs as barcode payloads; it makes no network requests to those URLs.
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
Provides the Razor spreadsheet editor, browser APIs, and packaged fonts.
dotnet add package TXTextControl.TXSheetControl.AspNetCore --version 2.0.0