Changelog
The latest version is v1.15.1. npm currently serves v1.15.1; newer versions are published together in the next npm release.
v1.15.1 Fixes: columns fit at once when a scrollbar comes or goes; nested-field tracking, formulas and undo; copying rows between grids
On npm- Flex columns refit in the same frame when rows, pinned rows, density or a hidden column bring or drop a vertical scrollbar; no extra horizontal scrollbar until the next scroll
- A horizontal scrollbar that goes away leaves no gap under pinned columns or below an autoHeight grid; the pinned summary row stays aligned with the body
- Change tracking and revertChanges see edits inside arrays (items.0.qty) and after applyTransaction updates nested objects; values inside class instances stay shared (documented)
- A formulas column on a nested field computes instead of #REF!; formulas can read nested fields by path (=m.v*2)
- Undo of a nested edit removes the object the edit created
- Copying rows between grids: a row whose id the target already has is not dropped (give copies a new id in copyRow); copy: 'ctrl' shows no drop line where a move is not allowed
- getRowIndex takes numeric ids like getRowById
- @freegridjs/testing: edit() returns ok: false when Escape cancels or a rule refuses the value
v1.15.0 Nested fields, valueFormatter / valueParser, a row API, typed rows, auto-size columns, copying rows between grids and @freegridjs/testing
On npm- Nested fields: field: 'address.city' reads and writes nested objects in sort, filter, edit, paste, undo, change tracking, export and import
- valueFormatter gives the text shown on screen and used by quick search, find, tooltips, copy, CSV, print and PDF; valueParser turns typed or pasted text back into a value (undefined refuses it)
- Row API: getRowById, getRowIndex, getDisplayedRowAt, getDisplayedRows, forEachRow, getCellValue, setCellValue (undoable), refreshCells({ rows, colIds, flash }), getFocusedCell, setFocusedCell, ensureCellVisible
- TypeScript: createGrid<T>(), ColumnDef<T> and GridApi<T> complete and check field names and nested paths; T is never inferred from the data, so existing code compiles as before
- autoSizeColumns: true fits the columns once, 'always' after every data change; flex columns, autoSize: false, columns resized by hand and saved widths are left alone
- Copy rows between grids: rowDrag.copy (or Ctrl / ⌘ while dropping) copies instead of moving; copyRow gives the copy a new id; the rowDrop event has copy
- New package @freegridjs/testing: gridHarness (read cells, edit, sort, press keys like a user), mockLayout for jsdom / happy-dom, selectors for Playwright and Cypress
- Quick search and find match option labels and phone numbers typed without dashes; Ctrl+C copies the selected text under cellTextSelection; a pending edit is saved before a server reload
- Fix: revertChanges left fields the edits had added
- Docs: a detailed page for every feature (en + ko) with live demos
v1.14.1 Cell notes, calculated columns from the menu, server transactions, values as % or running total, pager numbers and more
On npm- Datasource: applyTransaction updates loaded rows in place (with the flash); adds and removes reload the loaded blocks while the old rows stay on screen; refreshRows({ keepRows: true })
- Cell notes: cellNotes adds Add / Edit / Delete note to the context menu; a red corner marks the cell, the note shows on hover, undo covers it, getState() keeps it and Excel exports it as a comment
- Calculated columns: Add calculated column… in the column menu opens a dialog with the fields to click in, a live preview and errors; addCalculatedColumn() and friends; kept by stateKey
- Show values as % of total, % of group or running total (valuesAs, setColumnValuesAs, header menu); group rows show their share
- Pager page numbers (pageNumbers) and a page box (jump)
- Tooltips: tooltipDelay, tooltipHideDelay, tooltipInteractive (stays while hovered) and element content
- autoHeaderHeight grows the header for wrapped labels; cellTextSelection lets a drag select cell text
- gridReady and firstDataRendered events
- Excel: protect (with a password), pictures of image columns (images: true, getXlsxAsync), notes as comments
- Master-detail: detailExpanded and setAllDetailsExpanded (detailToggleAll event); sortAbsolute and sortCaseSensitive
- The changelog page shows five versions a page, with search (Korean initials too)
- Fix: the advanced filter calendar opened on text columns; an interactive tooltip closed on its way to the pointer; Ctrl+Z after a dialog
v1.14.0 Row colours, button and link cells, paste that adds rows, a remembered layout and drag-to-hide
On npm- rowClass and rowStyle color whole rows from their values; rowStyle also goes into Excel, print and PDF (rgb() colours too)
- button, link and image cells: clicks do not select the row or start an edit; links take '/orders/{id}' templates and refuse javascript: URLs; a renderer can return { el, destroy } to clean up
- pasteAddsRows: lines pasted past the last row become new rows, made by your function, undone together with the paste
- Excel export: summary: true adds the summary rows, groups: true a row per group with count and aggregates; summary cells take align, class and a renderer
- headerCheckbox on boolean and switch columns: one click turns every shown editable cell on or off, one undo step
- dependsOn clears a value its options no longer have when a parent field changes (cascading selects); select editors take a placeholder
- validate({ rows, colIds, changedOnly }) and validateCell(row, colId); number min / max count as rules
- stateKey keeps column widths, order, hidden and pinned columns and the sort in the browser and restores them after a reload (stateParts, stateStorage, clearSavedState); Reset columns is remembered too
- Drag a column header up out of the header to hide it (dragToHide: false turns it off)
- Korean initial consonants also in the find bar (Ctrl+F), the column chooser search and the multiSelect search box
- Fix: Ctrl+Z right after a header checkbox click; a mixed-feature end-to-end suite covers editors, filters, menus and layout together
v1.13.0 Right-click menus you build: entries by name, submenus, icons, check marks and a header menu
On npm- Built-in entries by name ('copy', 'paste', 'exportExcel', 'pinLeft' …) in any order next to your own; keys that do not apply drop out; contextMenu can be a plain array
- Submenus: an entry with items opens them on hover, click, → or Enter; ← and Escape go back; they nest
- icon (text, emoji, element or SVG), checked (a check mark, read as a checkbox), { heading }, hidden, danger and title on entries
- headerContextMenu: column headers get a right-click menu of their own (sort with the current direction checked, pin, group, size, hide, choose and reset columns, conditional formats, column menu); without it headers open the column menu as before
- Actions get the menu's params: area, row, rowIndex, colId, column and value; defaultItems entries now carry their key
v1.12.0 Cell editors (calendar, date range, combo, multi-select, switch, mask, dialog…) and more ways to filter
On npm- Date columns open a calendar: pick a day or type it, ↑ ↓ move a day, PageUp / PageDown a month, year and month lists jump far; editor { type: 'date', min, max, disabledDates } limits the days
- editor { type: 'dateRange' }: two months side by side, click the first and last day; presets (today, last 7 / 30 days, this month, last month, this year) or your own; text, [a, b] and { start, end } values keep their shape
- editor { type: 'combo' }: a text box with a list that filters as you type; free: false accepts only listed values; options can be a function that returns a Promise (server search)
- editor { type: 'multiSelect' }: a checkbox list with Select all and search; arrays stay arrays, text is joined with separator
- editor { type: 'radio' }: one click picks and saves
- editor { type: 'toggle', on, off }: the cell shows a switch that flips with one click or Space (true / false or values like 'Y' / 'N')
- editor { type: 'number', min, max, step }: ▲▼ buttons and arrow keys; values outside min–max are refused with a message
- editor { type: 'mask' }: fixed formats typed for you: 'phone' (010-1234-5678, 02-123-4567, 1588-1234), 'bizNo', 'card', 'zip' or a pattern like '(000) 000-0000'; raw: true stores only the typed characters
- editor { type: 'modal' }: long text in a dialog with a character count; Ctrl+Enter saves, Escape cancels
- singleClickEdit: true opens a column's editor with one click
- Paste, fill and Delete follow each editor's rules; select, radio, combo and multiSelect cells show option labels
- Picker texts in all 14 languages; the Editing docs page lists every editor with a live demo
- Text filters: does not contain, is one of (a list), wildcards (* ?) and regular expressions
- Korean initials search: ㄱㅎ finds 김하늘 in filters, the filter row, the quick search, set-list search and the combo editor
- Relative date filters: today, yesterday, this / last week, this / last month, this quarter, this / last year, last or next N days, worked out again each time the rows are filtered
- Date boxes in the column menu and the advanced filter open a calendar; the filter row's date box has a calendar button with relative choices and two-click ranges
- Columns filter the way they edit: option editors get a set list by label, multi-select cells pass when any value is checked, date-range cells when they overlap, masked values match with or without dashes
- Filter row text: =exact, !not, a | b, wildcards and /regex/
- Quick search: "a phrase" as written, -word excludes
- With a datasource, relative dates are sent as fixed days and 'is one of' as a set, so the server examples need no change
v1.11.0 Merge rows by the columns you choose; AI assistant removed
On npm- rollup: { by: ['country', 'name', 'company'] } shows every raw row at first; hide or remove one of the by columns and rows that agree on the rest merge into one, show it again and they split back
- Other columns (an ID, an email…) no longer keep rows apart: they show their value when the merged rows share it and stay empty otherwise
- setRollup() takes { by }, true or false, and getRollup() returns the same; the column menu offers aggregates only for columns that are not by columns
- Its own docs page, Merge rows by columns, with a live demo
- The themes demo can change the cell padding
- autoHeight grids follow the container's width: built inside a closed dialog, widened later, or wider than the screen with pinned columns and a horizontal scroll; with no rows they keep room for the no-rows message
- Korean, Japanese and Chinese input start editing a cell, and the Enter that ends a composition no longer saves and moves on
- Narrow columns show their header text: the hidden menu button no longer takes space (it still shows on hover and focus)
- Checking a merged rollup row selects the rows it merges: getSelectedRows() returns them and deleting removes them
- A sum over only blank values is blank, not 0, in merged rows, group rows and summary rows
- Excel export writes numbers as numbers in columns without a type
- Removed: the AI assistant (the assistant option, askAssistant(), its panel, context-menu entry and the assistantAnswer event). Remove the assistant option before upgrading
v1.10.0 Rollup by the shown columns, cell padding, and many combined-feature fixes
On npm- rollup option, setRollup() and setColumnAggFunc(): load raw rows, and rows that agree on every shown column without an aggFunc merge into one; hiding, showing, adding or removing columns merges again. Values can be summed, averaged, or take the min, max or count, also from the column menu; group and summary rows are calculated from the original rows
- cellPadding option, setCellPadding() and getCellPadding(): the left and right padding of every cell and header at once; column auto-sizing uses it
- Alt+↓ opens the column menu of the focused column; focus returns to the grid when a menu or dialog closes
- Context-menu Delete rows only deletes checked rows that pass the filters; exporting selected rows follows the sort and filters, and tree and grouped exports keep the display order
- Paste, fill and Tab skip group rows; copying no longer fails after rows under the range were removed
- Server rows: an open edit is saved before rows reload, copy takes only loaded rows without extra requests, and setState sends one request
- Row numbers continue correctly with groups and pagination; flex columns fill the width exactly; on a narrow screen very wide pinned columns scroll with the rest
- Vue follows push and splice on the data array; the filter row shows how many values a set filter keeps; the advanced filter dialog has a proper layout; the free-use mark is fainter and no longer a link
v1.9.5 Flex columns with min/max widths fit the grid
On npm- With two or more flex columns, a column held at its minWidth or maxWidth no longer pushes the row wider (or leaves a gap): the other flex columns now share what is left, as in CSS flexbox
v1.9.4 Checkboxes per merged block, repeated row ids
On npm- mergeSelection option, setMergeSelection() and getSelectedGroups(): with merged cells, put one checkbox on each block of the 1st, 2nd… merge column instead of every row; it checks the whole block, and getSelectedGroups() returns the selection block by block with the merge values and rows
- getSelectedGroupsAllRows(): like getSelectedGroups(), but each checked block lists all of its rows that pass the filters, selected or not
- When getRowId returns the same value for several rows, each row still selects, tracks and sorts on its own: inside the grid the repeats become id#2, id#3 and so on, and the console says so once (updates by id reach the first of them)
v1.9.3 Merged-cell options, simple theme, aligned formats
On npm- mergeAlign: put the text of a vertically merged cell at the top, middle or bottom of the part of the block in view
- sortWithinMerges option and setSortWithinMerges(): sorting reorders rows only inside each merged block; the blocks keep their order
- Large merged blocks are no longer covered by the striped background of rows below them, however deeply merges nest
- New 'simple' theme: white rows without stripes and hairline rules
- Conditional formats can align text left, center or right (grid, format dialog, Excel, PDF and print)
- align: 'center' now centres the header too; the conditional-format dialog stays inside the window
v1.9.2 Merged cells stay readable while scrolling
On npm- A vertically merged cell taller than the view keeps its text in sight while you scroll through it; the text stops in the last row of the block
v1.9.1 License and wrapper fixes
On npm- Vue and Angular: new licenseKey prop; before, a key given as an attribute or input never reached the grid, and options.* values were overwritten by unset props
- Only real private IP addresses (10.x, 192.168.x, 172.16-31.x) count as development hosts; names such as 10.example.com no longer do
- The trial verdict is stored per domain, and keys that verified are remembered; two grids with different keys no longer overwrite each other
- setLicenseKey called right after creating a grid is still picked up
- On plain-http pages, where signatures cannot be checked, a key must still match the domain and be unexpired
- Range drag ends on pointercancel, and a pending long press is cleared when the grid is destroyed
v1.9.0 Paid features after a 30-day trial, free personal keys
On npm- Paid features now need a license key after a 30-day free trial per domain; localhost and other dev hosts are always unlocked, and free features behave the same with or without a key
- Paid features: row grouping and aggregation, pivot, charts, cell ranges, range copy/paste, fill handle, Excel and PDF export, server-side groups, advanced filter, side bar, context menu, summary rows, formulas, find, conditional formatting, AI assistant, merged cells
- Free personal keys by email at freegrid.app/license/personal/ — non-commercial use, valid for 6 months, renewable
- One key now covers a domain and every subdomain: a key for example.com works on app.example.com too
- Existing keys keep working, including perpetual keys
v1.8.0 Rows changed in place, checkbox-only selection
On npm- applyTransaction({ update }) with a row object of the grid after changing it in place, and setData with the same array, now repaint the row and sort and filter it again; before, the old value stayed on screen
- cellValueChanged comes after summary rows, formulas and group totals are recomputed, so listeners read current totals (edits, paste, fill, clear, undo and redo)
- New option rowClickSelection: false — clicking a cell keeps the checked rows; only the checkboxes and Space select
v1.7.1 Printing large grids
On npm- Print and PDF stop at maxRows rows (1,000 by default) and end with a note saying how many were printed; printing 100,000 rows used to build a 200 MB page that froze the browser
- Excel and CSV exports are unchanged and keep every row
v1.7.0 Faster scrolling and fixes
On npm- Scrolling with conditional formats is up to 20 times smoother; sideways scrolling paints only the cells that come into view, and each frame lays out the grid once
- Quick filter, find, range totals in the status bar, row selection and pivot totals no longer go over every cell again on each change
- setColumns keeps the widths, order, visibility and pinning the user changed unless the new definitions change them; the same definitions again do nothing, so React, Vue, Svelte and Angular can pass columns inline
- Formula fixes: #N/A counts as an error, ROUND of very small or large numbers, MIN and MAX over long columns
- Untyped columns sort numbers and numeric text by value; blank groups stay last when sorted descending; tree rows whose parents form a loop are shown
- CSV keeps negative numbers as numbers, Excel sheet names stay within 31 characters, a late loadData response no longer replaces newer rows, and status bar totals follow live updates
v1.6.0 AI assistant
On npm- People ask the grid in plain words; the grid sends the request with column summaries (not the rows) to your server, and your server answers with actions
- Sorting, filters, grouping, pivots, conditional formats, computed columns, summary rows and charts; every action is checked against the columns before it runs, and every answer can be undone
- A chat panel from the right-click menu or api.openAssistant(), askAssistant(prompt) from code, and the assistantAnswer event
- Server examples for Node.js (Express) and Python (FastAPI) with Claude; the model API key stays on the server
- Server helpers for Node.js, Python, PHP, C# and Go next to the Java ones: paging, sorting, filters, quick search, the advanced filter, server grouping and saving, with only allowed columns and bound values
v1.5.0 PDF, JSON and rows repeated on every page
On npm as part of v1.6.0- exportPdf / getPdf save the print layout as a PDF made in the browser, so Korean, Japanese and every other script come out exactly as on screen
- Print and PDF repeat the column headers on every page (repeatHeader), the first n rows (repeatRows) and the title (repeatTitle); Excel files get the same print titles
- exportJson / getJson save the rows as objects with typed values, keyed by column id or header
- Export JSON and Export PDF in the right-click menu, in all fourteen languages
- The side bar's Columns and Filters strip looks like tabs while its panel is open
v1.4.0 Conditional formatting
On npm as part of v1.6.0- Rules by value, formula, top / bottom, above / below average and duplicates, styling a cell or the whole row
- Data bars, colour scales and icon sets drawn from the column's values
- A Conditional formatting… dialog in the column menu; the conditionalFormats option, setConditionalFormats and saved views (getState)
- The formats follow live updates and carry into Excel, print and PDF
v1.3.0 Formula engine
On npm as part of v1.6.0- Computed columns: a formula on the column (formula: '=qty * price') is worked out for every row, no field needed
- About 60 functions: maths, text, logic, dates, SUMIF, COUNTIF, AVERAGEIF, LOOKUP and RANK
- Across rows: COL(field) for whole-column totals, PREV / NEXT for running totals, ROW()
- registerFormulaFunction adds your own functions; formulas are parsed once and cached, so large grids stay fast
v1.2.0 Faster real-time updates
On npm as part of v1.6.0- Updates that no sort, filter or group reads keep the row order without sorting again, and only the changed rows repaint
- Numbers flash green going up and red going down; flashDuration sets how long
- connectLive keeps a grid up to date from a WebSocket, server-sent events or polling, reconnects after a drop and can pause
- upsert in transactions (update by id or add), asyncTransactionWait and flushAsyncTransactions
v1.1.0 Printing that looks finished
On npm- print() prints group rows with counts and totals (every group, open or not), summary rows, row numbers and cellClass colors
- Choose the paper (A4, A3, A5, B4, B5, letter, legal); wide grids turn the page sideways, and columns keep their proportions on the page
- A title, subtitle and print time on top; a footer and page numbers at the bottom; the header repeats on every page
- Print… in the right-click menu, in all fourteen languages; new PrintOptions type
v1.0.1 Fixes for editing, live updates and server data
On npm- An open cell editor follows its row when live updates add, remove or re-sort rows, so a value is never saved into another row
- Cut (Ctrl+X) clears only the cells it copied; cancelling a row edit leaves nothing to undo
- Queued live updates apply in order and stay fast on large data; change tracking keeps server values
- restDatasource sends server-side grouping and the advanced filter; saveChanges sends one request at a time and keeps edits made meanwhile
- Server group levels report failures and retry, load past 10,000 rows and ask a few groups at a time
- The filter row keeps what you are typing during live updates and rejects dates that do not exist
- Safer Excel import (huge or over-compressed files are refused) and faster chained formulas
v1.0.0 FreeGrid 1.0
On npm- Row numbers, a filter row under the header, cell and header tooltips, and row spacing (density)
- Two conditions per column filter, and an advanced filter across columns with a builder
- Save and restore the whole view (getState / setState): columns, sort, filters, grouping, page, selection
- Live updates by id with flashing cells (applyTransaction, applyTransactionAsync)
- Row editing mode (editType 'row'), cut with Ctrl+X, a height per row (getRowHeight)
- Group row checkboxes, collapsible column groups, and server-side grouping with counts and totals
- Grids that grow with their rows (autoHeight) and printing (print)
- Sparklines in cells; donut, bar-and-line and scatter charts; Excel files with several sheets
- Custom empty and loading screens
- Server helpers for Spring Boot and eGovFrame (restDatasource, loadData, saveChanges, csrfHeaders) with tested Java examples
- Seven more languages: Traditional Chinese, Vietnamese, Thai, Indonesian, Russian, Portuguese (Brazil), Italian
v0.8.1 Domain matching for license keys
On npm- A license key for example.com now covers example.com and www.example.com; other subdomains need their own key, or a key issued for *.example.com
v0.8.0 Layout, editing rules, row drag and new framework components
On npm- Cell spans per cell (colSpan, rowSpan), wrapped text with automatic row height, right-to-left layout
- Card view and touch editing for phones; custom header content and header classes
- Per-cell editable, per-row checkbox locks, time and date-time editors, disabled select options
- Unique-value validation, validate() for all rows, and cell formulas such as =qty*price
- Cancellable events: beforeSort, beforeFilter, beforePageChange, beforeEdit, beforeCellChange
- Row drag inside trees (change parent), drop rules, and dragging rows between grids
- Tree children loaded from a server on first expand
- Scroll position API, synced scrolling between grids, scroll kept when data changes
- Several ranges with Ctrl+click or Ctrl+drag; cells that cannot be copied
- Excel export keeps column alignment and cell colors
- Accessibility improvements (ARIA grid structure, announced focus) and Shadow DOM support
- New packages: @freegridjs/svelte and @freegridjs/angular
v0.7.1 Small improvements
On npm- Stability improvements and small fixes
v0.7.0 Pivot tables and charts
On npm- Pivot tables: row fields, column fields and values (sum, avg, min, max, count), with totals and grouped subtotals computed from the source rows
- Pivot side panel to build the table without code
- SVG charts with no dependencies: bar, stacked bar, line, area and pie
- Charts from a selected range through the right-click menu; they redraw when cells change
- Standalone renderChart; new API setPivot, getPivot, createChart; event pivotChange
v0.6.0 Export, import and filters panel
On npm as part of v0.7.0- Excel (.xlsx) export with number and date formats, merged group headers, a frozen header and AutoFilter
- CSV export with a BOM for Excel and protection against formula injection
- Excel and CSV import that matches headers to columns and validates values like a paste (undoable)
- Filters panel in the side bar, with "Clear all filters"
- Export items in the right-click menu
- Standalone readXlsx and writeXlsx, with no dependencies
v0.5.0 Pages and server data
On npm as part of v0.7.0- Pagination with a pager bar and a rows-per-page choice
- Server-side rows: load blocks from your API as people scroll, with placeholder rows while loading
- Infinite scroll when the total is unknown
- Server-side pages: one request per page
- Sorting, filters and quick search are sent to the server
- New API: setPage, setPageSize, getPageCount, refreshRows; events pageChange, rowsLoaded, rowsLoadFailed
v0.4.0 Grouping and trees
On npm as part of v0.7.0- Row grouping by one or more columns, with group counts and per-column aggregates (aggFunc)
- Group panel: drag a column header above the grid to group by it; reorder or remove chips
- Tree data with getParentId; filters keep the ancestors of matching rows
- Master/detail: an expandable full-width panel under a row, with its own height
- Row drag handle to reorder rows (undoable)
- New API: setGroupBy, expandAll, collapseAll, setGroupExpanded, setDetailExpanded, moveRow
v0.3.0 Spreadsheet tools
On npm as part of v0.7.0- Cell merging for consecutive equal values (merge)
- Fill handle that continues number, date and text series
- Status bar with row counts and totals of the selected cells
- Pinned top and bottom rows
- Ctrl+F find bar and find API
- Wrapping header labels
v0.2.0 Editing and clipboard
On npm as part of v0.7.0- Excel-style cell ranges, copy to and paste from Excel, right-click menu
- In-cell editors: text, number, date, select (with dependent options), textarea and custom
- Validation, change tracking, undo and redo
- Adding and removing rows, custom key bindings
Nothing matches.