react-data-grid
Feature-rich, virtualized data grid component for React
Repository Health
Technical Analysis
react-data-grid is a virtualized data grid component for React, built to render large datasets efficiently by only mounting rows and columns visible within the viewport. It ships with frozen columns, multi-column sorting, row and column grouping, summary rows, cell editing, copy/paste, cell-fill dragging, and keyboard accessibility, all strictly typed with TypeScript and tree-shakeable with zero external runtime dependencies.
Originally derived from Prometheus Research’s react-grid and maintained by Comcast since 2015, it targets modern React (19.2+) with evergreen-browser and SSR support, light/dark mode via native color-scheme, and right-to-left layout support.
What You Get
- Row and column virtualization so only on-screen cells are rendered, keeping large datasets performant
- Built-in frozen columns, multi-column sorting, column spanning and grouping, and summary rows
- Cell editing, copy/paste, and drag-to-fill interactions with customizable renderers for every cell type
- Zero external runtime dependencies and tree-shaking support to keep bundle size minimal
- Keyboard accessibility, RTL layout support, and light/dark mode via native
color-scheme
Common Use Cases
- Displaying large, sortable, editable datasets (admin panels, spreadsheets, back-office tools) without pagination
- Building spreadsheet-like editing UIs with copy/paste and fill-handle interactions
- Rendering grouped or hierarchical tabular data with summary/aggregate rows
- Embedding an accessible, keyboard-navigable data table in dashboards and internal tools
Under The Hood
Architecture - The grid is composed around a central DataGrid.tsx component that manages viewport state and delegates rendering to per-row/per-cell components (Row.tsx, Cell.tsx, HeaderCell.tsx, GroupRow.tsx, SummaryRow.tsx); a companion TreeDataGrid.tsx layers hierarchical/grouped rendering on top of the same primitives. Virtualization is implemented directly rather than delegated to a third-party windowing library, computing visible row/column ranges from scroll position and only rendering DOM nodes for cells intersecting the viewport, which is what keeps large-dataset scrolling smooth. Editors (editors/) and cell renderers (cellRenderers/) are pluggable per column via the Columns.tsx type definitions, and hooks (hooks/) encapsulate cross-cutting concerns like selection, keyboard navigation, and column resizing. Tech Stack - Pure TypeScript/React with react and react-dom 19.2 as the only peer dependencies and no runtime dependencies at all; styling ships as plain CSS (lib/styles.css) using native color-scheme for theming rather than a CSS-in-JS runtime. The build pipeline uses tsdown to produce the published lib/ output and Vite to serve the documentation/examples website. Code Quality - Tests run via Vitest across two projects (browser and node), including a visual test suite, and a failOnConsole.ts setup file that fails tests on unexpected console output, indicating a strict internal quality bar. TypeScript types for columns, rows, and renderers are expressed as generics, giving consumers strong compile-time guarantees about the shape of the data passed into the grid. API Design - The primary integration surface is a single <DataGrid columns={} rows={} /> component with a well-documented Column type for per-column configuration (renderers, editors, sorting, grouping), keeping the common path simple while still exposing deep customization through renderer/editor props for advanced cases; the maintained examples website doubles as living API documentation.
Used by 7 apps in this directory
Activepieces
Automation · AI Assistants
Open-source AI automation platform that converts 280+ workflow integrations into MCP servers for LLMs, with no-code builders and TypeScript extensibility.
Amplication
Developer Tools · AI Code Assistants · Automation
Create production-ready backend services with your organization's standards baked in — generating NestJS, Prisma, and GraphQL code that you own and control.
ByteChef
Automation · AI Agents
Unified open-source platform for AI agent orchestration and workflow automation with 180+ connectors, MCP support, and durable execution.
InsForge
Developer Tools · Databases
The all-in-one, open-source backend platform purpose-built for AI coding agents — giving your agent database, auth, storage, edge functions, a model gateway, and compute to ship full-stack apps end-to-end.
PostHog
Analytics · Monitoring · Developer Tools
The all-in-one open source product platform combining analytics, session replay, feature flags, error tracking, AI observability, and a built-in data warehouse in a single self-hostable stack.
Supabase
Developer Tools · Databases · Search
The open-source Postgres development platform that replaces Firebase with authentication, real-time APIs, edge functions, storage, and vector embeddings — all built on PostgreSQL.
twenty
CRM
The open-source CRM you build, ship, and version like the rest of your stack — with customizable objects, AI agents, and a TypeScript SDK.