Angular Spreadsheet Component | ng-hub-ui-spreadsheet
Editable Angular spreadsheet with Excel's keyboard, rectangular selection, a clipboard that round-trips with Excel, frozen panes and merged cells. MIT, accessible, no paid tier.
Interactive examples
Explore live examples that show how the library behaves in common Angular use cases.
Editing and the clipboard
An editable sheet
Click a cell and type, or press F2 to edit keeping the value. Enter commits and drops a row, Tab commits and moves right.
Copying and pasting against Excel
Select a range, copy it, and paste it into Excel. Or the other way round.
Column kinds, and supplying your own editor
A click picks a cell; a double click, F2 or simply typing opens it. Open Status for a list, Due for a date and Assignee for a searchable hub-select supplied by this page; Billable takes one click on its box. Hover an empty Due or Assignee cell to see its hint.
Formulas by alias, and by coordinate
Change a quantity and the totals follow. Open a Total cell to see the formula, and the last row to see a column added up.
Drawing a column's cells yourself: badges and actions
Pick a row and use the actions at the end. Copy the State column into a spreadsheet: what travels is paid, not the badge.
Wiring a control library once, instead of a template per column
Queue and Severity have no editor of their own. Open one and it is the house select, with its search box.
Shape of the sheet
Frozen rows and columns
Scroll sideways and down. The region column and the first row stay put, and the seam is drawn on the last frozen track.
Merged blocks
The Monday workshop spans two hours, and Wednesday's review spans three. Arrow into one, then try selecting only part of it. Select a rectangle and right-click to put it together, or right-click a block to take it apart.
Ten thousand rows by fifty columns, of which the document holds a screenful
10,000 rows and 52 columns. Scroll either way: the document holds a screenful at a time, and the first column stays put.
Fill handle, and undoing a drag in one step
Select the two codes, then drag the corner square down. Undo with Ctrl+Z.
Resizing and reordering columns
Drag the right edge of a header to widen it, or drag the header itself to move the column.
State and structure
Save state per cell
Edit a price. Anything ending in 9 fails on purpose, so you can see the error state.
Adding and removing rows and columns
Add a column, remove it, add another: the alias never comes back.
Aliases handed out so far
description · col-1Validation per cell with Signal Forms
Out to Excel or CSV, and back in
Export it, open it in Excel, change a quantity, save it and bring it back.