react-data-grid

Feature-rich, virtualized data grid component for React

Library
npm
v7.0.0-beta.61
7,689 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
88 /100 Excellent
Development Activity 96
Maintenance 72
Community 84
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
81 /100 Excellent
Architecture 86
Code Quality 84
Innovation 80
Learning Curve 72

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

TypeScript
100%
Other

Activepieces

AI Assistants · Automation · Mcp

24,756

Open-source AI automation platform that converts 280+ workflow integrations into MCP servers for LLMs, with no-code builders and TypeScript extensibility.

View details
92
Repo Health
85
Technical
64
Dependency
Built with
TypeScript 100%
Updated 4 days ago
TypeScript
96%
Other

Amplication

AI Code Assistants · Automation · Developer Tools

16,015

Create production-ready backend services with your organization's standards baked in — generating NestJS, Prisma, and GraphQL code that you own and control.

View details
58
Repo Health
84
Technical
60
Dependency
Built with
TypeScript 96%
Updated 3 months ago
Java
72%
Other

ByteChef

AI Agents · Automation

1,003

Unified open-source platform for AI agent orchestration and workflow automation with 180+ connectors, MCP support, and durable execution.

View details
85
Repo Health
82
Technical
67
Dependency
Built with
Java 72%
TypeScript 28%
Updated 5 days ago
TypeScript
93%
Apache 2.0

InsForge

Databases · Developer Tools

13,023

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.

View details
85
Repo Health
81
Technical
72
Dependency
Built with
TypeScript 93%
Updated 6 days ago
Python
55%
Other

PostHog

Ab Testing Experimentation · Analytics · Developer Tools

39,975

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.

View details
92
Repo Health
80
Technical
65
Dependency
Built with
Python 55%
TypeScript 36%
Updated 4 days ago
TypeScript
72%
Apache 2.0

Supabase

Authentication · Databases · Developer Tools

110,828

The open-source Postgres development platform that replaces Firebase with authentication, real-time APIs, edge functions, storage, and vector embeddings — all built on PostgreSQL.

View details
90
Repo Health
91
Technical
62
Dependency
Built with
TypeScript 72%
MDX 26%
Updated 4 days ago
TypeScript
82%
Other

twenty

CRM

57,585

The open-source CRM you build, ship, and version like the rest of your stack — with customizable objects, AI agents, and a TypeScript SDK.

View details
92
Repo Health
82
Technical
64
Dependency
Built with
TypeScript 82%
MDX 15%
Updated 4 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers