s-ueno / react-data-grid

Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like

Home Page:http://adazzle.github.io/react-data-grid/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-data-grid npm-badge bundlesize-badge ci-badge

Install

npm install react-data-grid

Usage

import DataGrid from 'react-data-grid';
import 'react-data-grid/dist/react-data-grid.css';

const columns = [
  { key: 'id', name: 'ID' },
  { key: 'title', name: 'Title' }
];

const rows = [
  { id: 0, title: 'Example' },
  { id: 1, title: 'Demo' }
];

function App() {
  return (
    <DataGrid
      columns={columns}
      rows={rows}
    />
  );
}

Documentation

About

Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like

http://adazzle.github.io/react-data-grid/

License:Other


Languages

Language:TypeScript 80.0%Language:JavaScript 15.8%Language:CSS 4.2%