# Docs - [Introduction](/en/docs): SpreadsheetGrid — a fast, virtualized spreadsheet / data grid for React 18.3 / 19 and Solid 2.0 - React - [Installation](/en/docs/react/installation): Install the React version (@ishibashi0112/spreadsheet-grid) and load its CSS - [Quick start](/en/docs/react/quick-start): Run a minimal grid with the React version - [Notes for React](/en/docs/react/notes): ref on React 18 / 19, using a new row right away, render functions, picking the features you ship, testing - [Next.js and SSR](/en/docs/react/nextjs): The 'use client' boundary in the App Router, what the server renders, dark mode, initial state from the URL, and the scroll position when you navigate back - Solid - [Installation](/en/docs/solid/installation): Install the Solid version (@ishibashi0112/spreadsheet-grid-solid), load its CSS and configure your bundler - [Quick start](/en/docs/solid/quick-start): Run a minimal grid with the Solid version - [Notes for Solid](/en/docs/solid/notes): Differences from the React version (ref, when render functions run, /ai, speed), signals and stores, when writes take effect, actions, async rows, testing, picking the features you ship, versions - [SSR](/en/docs/solid/ssr): Rendering on the server with Solid 2 (Vite's SSR and @solidjs/vite-plugin, what the server renders, hydration, running in production) - **Shared** - [Loading the CSS and coexistence](/en/docs/css): Loading style.css / style.layer.css, and coexisting with Tailwind CSS, HeroUI, Mantine, StyleX, Astryx and UI SDK (the same for React and Solid) - [Use with AI assistants](/en/docs/ai-assistants): Give Claude Code, Cursor, Codex, GitHub Copilot and others the right way to use SpreadsheetGrid - [Versions and compatibility](/en/docs/versioning): How versions are raised (semver), what is public, breaking changes and the deprecation process - Guides - **Basics** - [Keyboard and touch](/en/docs/guides/keyboard): Key bindings for the grid and its editors, and touch gestures on phones and tablets - [Selection and clipboard](/en/docs/guides/selection-clipboard): Cell range selection, row selection (checkboxes), and the rules for copy and paste that round-trip with Excel - [Formatted copy](/en/docs/guides/rich-copy): With copyFormat="rich", copies paste into Excel, Google Sheets and email as a table with borders and colors. copyHeaders adds a row of column names - [Saving and restoring state](/en/docs/guides/state): Save the column widths, filters, sorting and column order / visibility / pinning users changed, and bring them back next time (getState / applyState / initialState / restoreColumnsFromState) - [Accessibility](/en/docs/guides/accessibility): Keyboard-only use, what screen readers hear, high contrast and reduced motion, and what to take care of in your app - [Use it inside a dialog](/en/docs/guides/dialogs): Where popups go (popupContainer) and Escape when you put the grid in a modal or popover - [Troubleshooting](/en/docs/guides/troubleshooting): Common questions (the table doesn't show, edits don't stick, undo is lost, pasted values don't go in, menus can't be pressed inside dialogs or Shadow DOM, 500 on Next.js and more) and known limitations - **Editing** - [Cell editing](/en/docs/guides/editing): Editor types (text / number / select / date / time / datetime / checkbox / custom), per-row editors, values with line breaks, where to move after committing, editing from code, and an overview of validation - [Entry row](/en/docs/guides/new-row): Show an entry row at the end of the table with newRow and add typed rows to the end. Drafts, when it becomes a row, paste, and tracking added and removed rows - [Searchable select editor](/en/docs/guides/select-search): Narrow options by typing with the select editor's search (also by reading or alias, options fetched from a server, filling other columns from the chosen option) - [Multi-select](/en/docs/guides/multi-select): Choose any number of options in one cell with the select editor's multiple (chips, a checked list, copy and paste, column filters) - [Time, date-time and calendar editors](/en/docs/guides/date-time-editors): The time / datetime editors and date's picker calendar (reading typed text, the calendar, a list of times, a time input for date-times) - [Validation](/en/docs/guides/validation): Validate values with validate and the number editor's range, choose between marking and refusing the write (mark / reject), and check everything before saving - [Change tracking](/en/docs/guides/change-tracking): Mark edited cells as unsaved with trackChanges, take out what to send with getChanges, and clear the marks with markChangesSaved after saving - [Diff view](/en/docs/guides/diff-view): With the baseline of trackChanges, compare a previous version of the rows with the current rows and color changed cells, added rows and removed rows. Step through changes with the counts and ▲ ▼ in the bottom bar - [Fill handle](/en/docs/guides/fill-handle): Drag the small square at the bottom right of the selection with fillHandle to fill with a series or copies (Excel's AutoFill) - [Row drag](/en/docs/guides/row-drag): Grab the handle with enableRowDrag to move rows up and down (a new array through onRowsChange, undoable) - [Cell events](/en/docs/guides/cell-events): Receive clicks, double-clicks and active cell changes with onCellClick / onCellDoubleClick / onActiveCellChange - **Data** - [Sorting and filtering](/en/docs/guides/filter-sort): Column filters (text / number / date / select / set / custom) and the global filter - [Find in cells](/en/docs/guides/find): Show a find bar on Ctrl+F with the find prop and step through highlighted matches. Replace with Ctrl+H too - [Values and labels](/en/docs/guides/value-labels): In columns whose values are codes and whose screen shows display names, align group headings, the global filter, and copy and paste with the display names (groupLabel / globalFilterMatch / clipboard) - [Row grouping](/en/docs/guides/grouping): Hierarchical grouping and aggregate rows with rowGroup / aggFunc - [Tree data](/en/docs/guides/tree-data): Turn flat rows into a parent-child hierarchy with treeData, with open / close, parent aggregates, and filtering and sorting within siblings - [Total row](/en/docs/guides/total-row): Pin a total row to the bottom of the table with totalRow (per-column aggregates with aggFunc, recomputed with filters, display only) - [Pinned rows](/en/docs/guides/pinned-rows): Pin targets or last year's rows to the top and bottom of the table with pinnedTopRows / pinnedBottomRows (display only, a separate array from the body) - [Label rows](/en/docs/guides/label-rows): Draw heading rows mixed into rows as full-width bands with labelRow (not counted as rows, sorting within sections, sticky) - [Detail rows (Master/Detail)](/en/docs/guides/detail-row): Open any UI (a sub-grid or a form) right below a row with detailRow - [CSV / Excel export](/en/docs/guides/export): downloadCsv / exportCsv, and the library-independent getExportData - **Appearance** - [Sizing (height)](/en/docs/guides/sizing): Set the grid's height with height / maxHeight. Fit it in the parent with '100%' - [Column drag](/en/docs/guides/column-drag): Grab the grip on a column header and move the column left or right (a new column array from onColumnsChange; carrying it to a pinned pane pins it) - [Column groups (multi-level headers)](/en/docs/guides/column-groups): Add grouping headers like "Tokyo warehouse" or "H1" above column headers with columnGroups (open / close, pinned columns, drag, width, export) - [Custom rendering](/en/docs/guides/customization): Draw cells, headers, top / bottom bars, editors and the context menu freely with React / Solid components - [Conditional formatting](/en/docs/guides/conditional-format): Draw data bars / color scales / status chips with one column option, conditionalFormat - [Range decorations](/en/docs/guides/range-decorations): Draw a box and a name tag on a range decided by row and column keys with rangeDecorations. Marks for ranges in review, places someone else is editing, or what AI changed - [Theming and styling](/en/docs/guides/theming): Dark themes (light / dark / auto / class), density, and customization with CSS tokens - [Matching a design system](/en/docs/guides/design-systems): themes/*.css matches the grid's colors to the theme variables of Astryx / Mantine / HeroUI / shadcn/ui - [English and text](/en/docs/guides/localization): Make the grid's texts English or change some of them with localeText (bars, menus, filters, tool panel, find, accessible names, validation messages) - [Motion](/en/docs/guides/motion): Turning animations / transitions on (the motion prop) and adjusting them with CSS tokens - **Large tables** - [Large data and pinned columns](/en/docs/guides/large-data): Virtualizing 100,000 rows and 3-pane pinned columns (pinned) - [Pagination and loading display](/en/docs/guides/pagination): Split rows into pages with pagination and show one page at a time; show skeleton rows or a moving line while loading with loading - [Server-side row model (SSRM)](/en/docs/guides/ssrm): Block fetching, query forwarding and write-back (optimistic updates + rollback) with dataSource - [Scroll position indicator](/en/docs/guides/scroll-hint): A bubble / ruler / jump preview that shows "which row you're on" while scrolling through many rows - [Choose the features you bundle (/lite)](/en/docs/guides/lite): Bundle only the features you use with createSpreadsheetGrid, cutting the initial JS about in half - **AI** - [Filter with words (AI)](/en/docs/guides/ai-filter): Place GridAskBar, and AI turns a sentence like "Tokyo items with 10 or fewer in stock, highest price first" into filters, sorting and search - [Let AI agents operate the table](/en/docs/guides/ai-agent): With useGridAgentTools / createGridAgentTools, build tools for AI agents to change the table's view, move to rows and (if allowed) read rows and write cells. Pass them to your own chat or to a browser agent (WebMCP) - **Testing** - [Testing (jsdom)](/en/docs/guides/testing): jsdom rendering tests of the real grid with installJsdomLayoutStubs - API reference - [SpreadsheetGrid props](/en/docs/api/props): Every prop of SpreadsheetGridProps and its default - [GridColumn props](/en/docs/api/column): Column definitions (GridColumn), filters, editors, validation, column widths and grouping - [Imperative API (ref handle)](/en/docs/api/handle): The methods of SpreadsheetGridHandle - [serverSide mode (SSRM)](/en/docs/api/server-side): dataSource / query wiring / refresh / error handling / write-back - [/lite (picking the features you ship)](/en/docs/api/lite): createSpreadsheetGrid and the 34 feature parts, the standardFeatures preset, sizes - [/ai (filter with words, agent tools)](/en/docs/api/ai): GridAskBar / useGridAsk, building requests and checking answers (createGridAskRequest / readGridAskAnswer), and AI agent tools (createGridAgentTools / registerGridAgentTools) - [preloadGridPopups and /testing](/en/docs/api/utilities): Preloading popover parts, and testing helpers for drawing the grid in jsdom