Skip to main content

React Spreadsheet

The official declarative React wrapper for DHTMLX Spreadsheet. Build spreadsheet UIs with a component-based API: pass data as props, respond to changes via event callbacks, and access the underlying widget through a ref when needed.

Get started

info

You can also explore the GitHub demo repository for a complete working example.

API reference

Data model

The sheets prop is the single source of truth for all spreadsheet data. Each sheet is a SheetData object containing cells, row/column configuration, merged ranges, frozen panes, filters, and sorting.

State management

Learn how to keep spreadsheet data in sync with your application state:

Framework integrations

  • Next.js - using React Spreadsheet with Next.js App Router

Theming and localization

  • Themes - built-in themes and custom CSS overrides
  • Localization - UI translations and number/date formatting