Find and replace via Ctrl+F, Ctrl+H, F3.
Lets users type or paste formulas starting with = (setFormula in code works regardless).
ReadonlycolumnsColumns.
ReadonlyconditionalConditional formats.
ReadonlyhostPasting more lines than there are rows below adds rows (same undo step). Default false: extra lines are dropped (see the pasted event).
Selected cells use the selection text color instead of colors set on the cell, row, column or by conditional formats. Default false (those colors are kept, like the desktop).
Shows the whole text in a tooltip when the mouse is over a cell whose text is cut off.
Enables Ctrl+Z / Ctrl+Y undo. Turning it off clears the history.
Alternating row colors.
The grid's height follows its rows, so the page scrolls instead of the grid (see GridOptions.autoHeight).
Where Ctrl+F opens the grid's find dialog: 'grid' (when focused, default) or 'page' (anywhere, if this is the only grid on screen).
Color scheme (the same 13 as the desktop version, including the Nox signature scheme).
Current cell.
The bound array of objects (the same array you passed in). Sorting changes only the screen order and never reorders this array; rows inserted or removed in the grid are inserted into or removed from it.
Text drawn in the middle of the grid when no rows are shown.
Shows the footer (summary) row fixed at the bottom. Set footer on the columns.
Highlights the row under the mouse.
With autoHeight: the largest height in px (0 = no limit).
Bound data: the object for each new row (insertRows, pasteAddsRows).
Deepest group level (0 if none).
Current quick filter text ('' when none).
Bound data: the field that identifies a row (GridOptions.rowKey).
Selected range.
Selected cells keep their own background (and text color); see GridOptions.selectionKeepsBackColors.
'cell' (default) or 'fullRow' (whole rows are selected, as the desktop FullRowSelect).
Sheet name used to refer to this grid in formulas.
Current sort.
What clicking a header cycles through: 'ascDesc' (default) or 'ascDescNone' (third click: clearSort()).
Vertical lines between body cells. Defaults to the color scheme's (off for modern schemes); once set, changing colorScheme keeps it.
Number of rows left after the column filters and the quick filter (e.g. "N results"). Hidden rows and subtotal rows are not counted; rows inside collapsed groups are. Same value as footerText's visibleRowCount.
Inserts subtotals: adds a subtotal row (SUBTOTAL formula) wherever the groupBy column value changes and groups the rows. Returns the number of rows inserted. Data must be sorted by the groupBy column (with sortFirst: true it is sorted first).
Fits the column width to its contents (based on visible rows, up to 2000 rows).
Suspends drawing (before bulk changes). Pair with endUpdate.
Clears range values (a single undo step).
Clears values in the selection.
Removes the sort. Bound rows go back to the order of the bound array (as the desktop ClearSort does); clearSort(false) only removes the sort indicator and keeps the current order. Undoable.
Clears the undo history.
Collapses the group containing the row (innermost if level is omitted).
Optionallevel: numberGets the selection as tab-separated text (formulas are remembered separately for pasting).
Index in the bound array of the object shown on a screen row (-1 when unbound). Screen rows and array indexes differ after sorting.
Destroys the grid and releases its resources.
Saves the grid as a CSV file in the browser (UTF-8 with BOM, so Excel shows Korean text correctly). Options are the same as toCsv (raw values, columns, header row, filtered rows only).
Ends editing. commit = apply the value. Returns false and keeps editing if validation fails.
Evaluates a formula once at the current cell position (without storing it in the cell).
Optionallevel: numberFinds the next matching cell and selects it. Searches visible rows and columns, wrapping from end to start.
Gives the grid input focus.
Where a cell is drawn, relative to the grid element: { x, y, width, height } (merged cells: the whole area). null when the cell is scrolled out of view or hidden; call scrollToCell(row, col) first. For automated tests and pop-ups.
The current colors (a copy; change them with setColors).
Footer value of a column (calculated from its footer function over the rows shown by the filter;
the footerValue event can change it).
Gets the cell's formula ("=…", or null if none).
Where a column header is drawn, relative to the grid element (the bottom header row with multi-row headers); null when scrolled out of view.
Key of a row: the rowKey field of the bound object, or the key set with setRowKey.
Gets the display text.
Gets the cell's validation error (null if none).
Groups a row range (one level deeper). Undoable.
State of a check column over the shown rows: 'on' (all checked), 'off' (none) or 'mixed'. Subtotal rows are not counted.
Hides the selection until the user clicks a cell or uses the keyboard in the grid (like initialSelection: 'none' at the start).
Row index (screen order) of the row with this key, -1 if none. Hidden and filtered rows are found too.
Schedules a redraw.
Whether the cell is read-only.
Whether the row is shown: false for rows hidden with setRowVisible, filtered out by a column filter or the quick filter, or inside a collapsed group. visibleRows() lists the rows left after filtering (subtotal rows not included).
Loads sheet data received from the server (columns, values, formulas, formats, merges, frozen panes). Clears the undo history.
Loads one sheet from workbook data (by index or name; defaults to activeSheet).
Optionalsheet: string | numberMerges cells.
Opens the header filter popup.
Draws immediately (for testing).
Pastes tab-separated text starting at the current cell (a single value fills the whole selection). Returns the number of cells set.
Opens the print dialog (the browser's print preview can also save as PDF).
Recalculates all formulas (TODAY, RAND, etc.).
Recalculates the footer values (after changing a column's footer settings in code).
Removes subtotal rows and ungroups. Returns the number of rows removed.
Replaces the current cell if it matches, then finds the next one (excludes read-only and formula cells).
Replaces all matches (a single undo step). Returns the number of cells replaced.
Call when the size has changed (usually automatic).
The bound object shown on a screen row (undefined when unbound).
Scrolls so the cell is visible.
Checks or unchecks a check column for every row (like the desktop SetAllChecked). By default only the rows shown (not filtered out or hidden); read-only cells and subtotal rows are left as they are. One undo step. Returns the number of changed cells.
Overrides individual colors (e.g. grid.setColors({ accent: '#e11d48' })).
Applies a new set of column options: columns are matched by name (or field) and updated in place (their width is kept unless a width is given), new ones are added and missing ones removed, in the given order. Cell values stay.
Binds an array of objects (read and written via each column's field). null unbinds.
keepSort: true sorts the new rows by the current sort again (for lists that are searched or reloaded).
Filter: a list of values (display text) to show, or a predicate. null clears it.
Sets a formula in a cell ("=SUM(A1:A3)" or "SUM(A1:A3)"). Empty text or null clears it. Throws FormulaSyntaxError on invalid syntax.
Keeps only rows where any of the columns (default: every visible column) contains the text (case-insensitive, as displayed). Works together with the column filters; the footer row counts the remaining rows. '' or null clears it. Safe to call while Korean text is being composed (the grid only filters).
Sets the key of a row (unbound grids, or bound grids without rowKey). The key follows the row when rows are inserted, removed or sorted.
Converts text to the column's kind and sets it. Throws if it cannot be converted.
Sets values from a 2D array in one go (a single undo step).
Opens the find dialog (replace = also show the replace field).
Shows only up to level n (1 = summary only, deepest level + 1 = all).
Hint text below the cell (validation error).
Sorts by one or more columns. E.g. grid.sort([{ col: 'dept' }, { col: 'age', order: 'desc' }])
Header-click sort: toggles direction on the same column; with add, appends a sort column.
CSV of the display text as-is (no server needed). The first line is the header.
Printable HTML document (visible rows and columns, including formats and merges).
Sheet data to send to the server (with headerRow, headers go in the first row).
Workbook data to send to the server (a single sheet).
Ungroups a row range (one level shallower).
Removes merges that overlap the range.
Validates all cells. Moves to the first invalid cell and returns the list of errors.
Row indices (screen order) of the rows counted by visibleRowCount.
NoxGrid for the web. Uses custom drawing (Canvas) to render only the visible cells.