All Projects → reactabular → Reactabular

reactabular / Reactabular

Licence: mit
A framework for building the React table you need (MIT)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Reactabular

Angular Handsontable
Angular Data Grid with Spreadsheet Look & Feel. Official Angular wrapper for Handsontable.
Stars: ✭ 175 (-80.62%)
Mutual labels:  table, data-table
react-bolivianite-grid
React grid component for virtualized rendering large tabular data.
Stars: ✭ 95 (-89.48%)
Mutual labels:  table, data-table
Window Table
Windowing Table for React based on React Window
Stars: ✭ 160 (-82.28%)
Mutual labels:  table, data-table
Hot Table
Handsontable - Best Data Grid Web Component with Spreadsheet Look and Feel.
Stars: ✭ 114 (-87.38%)
Mutual labels:  table, data-table
Reactgrid
Add spreadsheet-like behavior to your React app
Stars: ✭ 289 (-68%)
Mutual labels:  table, data-table
cp-react-tree-table
A fast, efficient tree table component for ReactJS.
Stars: ✭ 83 (-90.81%)
Mutual labels:  table, data-table
React Handsontable
React Data Grid with Spreadsheet Look & Feel. Official React wrapper for Handsontable.
Stars: ✭ 511 (-43.41%)
Mutual labels:  table, data-table
Android Extensions
An Android library with modules to quickly bootstrap an Android application.
Stars: ✭ 356 (-60.58%)
Mutual labels:  table, data-table
tablex
virtualized and extendable tables and datagrids for React
Stars: ✭ 39 (-95.68%)
Mutual labels:  table, data-table
DataFrame
DataFrame Library for Java
Stars: ✭ 51 (-94.35%)
Mutual labels:  table, data-table
Datatablesbundle
This Bundle integrates the jQuery DataTables plugin into your Symfony application.
Stars: ✭ 334 (-63.01%)
Mutual labels:  table, data-table
Nghandsontable
Official AngularJS directive for Handsontable
Stars: ✭ 438 (-51.5%)
Mutual labels:  table, data-table
Datatable
A simple, modern and interactive datatable library for the web
Stars: ✭ 587 (-34.99%)
Mutual labels:  table
Table Dragger
Turn your old table to drag-and-drop table with columns and rows sorting like magic!
Stars: ✭ 704 (-22.04%)
Mutual labels:  table
Pro Table
🏆 Use Ant Design Table like a Pro!
Stars: ✭ 543 (-39.87%)
Mutual labels:  table
Moses
Utility library for functional programming in Lua
Stars: ✭ 541 (-40.09%)
Mutual labels:  table
Sensei Grid
Simple and lightweight data grid in JS/HTML
Stars: ✭ 808 (-10.52%)
Mutual labels:  data-table
Sheetjs
📗 SheetJS Community Edition -- Spreadsheet Data Toolkit
Stars: ✭ 28,479 (+3053.82%)
Mutual labels:  table
Locktableview
Android自定义表格,支持锁双向表头,自适应列宽,自适应行高,快速集成。Android custom table, support two-way lock header, adaptive column width, adaptive line width, rapid integration.
Stars: ✭ 520 (-42.41%)
Mutual labels:  table
React Datasheet
Excel-like data grid (table) component for React
Stars: ✭ 4,866 (+438.87%)
Mutual labels:  table

Join the chat at https://gitter.im/reactabular/reactabular build status codecov OpenCollective OpenCollective

Reactabular - A framework for building the React table you need

Reactabular has been designed to be extensible. Rather than implementing a lot of functionality in its core, it provides extension points. You can, for instance, customize rendering on cell level. It is possible to implement functionality, such as search, pagination, sorting, and inline editing, through composition. The library includes a variety of utilities for this even though you may use third party ones as well.

By default Reactabular operates using a column and a data definition. It doesn't care where those come from. It just renders the table for you. This means Reactabular will fit right into your current data architecture. It doesn't constrain it in any manner.

The chosen approach pushes a lot of complexity out of the core. As a result it might take more code to achieve certain functionalities. This is the price of flexibility. And that's the primary design goal of Reactabular.

If you want to learn more about React, read SurviveJS - Webpack and React.

Example

The following example illustrates the approach used by Reactabular:

/*
import * as Table from 'reactabular-table';
*/

const rows = [
  {
    id: 100,
    name: 'John',
    tools: {
      hammer: true
    },
    country: 'fi'
  },
  {
    id: 101,
    name: 'Jack',
    tools: {
      hammer: false
    },
    country: 'dk'
  }
];
const countries = {
  fi: 'Finland',
  dk: 'Denmark'
};

const columns = [
  {
    property: 'name',
    header: {
      label: 'Name',
      transforms: [
        label => ({
          onClick: () => alert(`clicked ${label}`)
        })
      ]
    }
  },
  {
    property: 'tools',
    header: {
      label: 'Active',
      transforms: [
        label => ({
          onClick: () => alert(`clicked ${label}`)
        })
      ]
    },
    cell: {
      formatters: [
        tools => tools.hammer ? 'Hammertime' : 'nope'
      ]
    }
  },
  {
    property: 'country',
    header: {
      label: 'Country',
      transforms: [
        label => ({
          onClick: () => alert(`clicked ${label}`)
        })
      ]
    },
    cell: {
      formatters: [
        country => countries[country]
      ]
    }
  },
];

<Table.Provider
  className="pure-table pure-table-striped"
  columns={columns}
>
  <Table.Header />

  <Table.Body rows={rows} rowKey="id" />
</Table.Provider>

Available Packages

The following image shows roughly what packages are available. You will need to install them individually based on your needs. It is possible to use packages beyond these, but the ones listed below are maintained within the Reactabular organization:

Reactabular packages

Testimonials

If you've struggled with other React table components, you'll see why this one is the best! - Tim Dorr


It’s not a regular table component it’s a whole framework to work with tables: sorting, drag’n’drop, filtering, etc. And it’s easy to change every part if you need something specific. - Artem Sapegin


Great work with reactabular! Best grid library I've seen in React and tried many of them. - Piotr Zmudzinski


If you are using Reactabular and want to endorse it, let me know.

Sponsors

SurviveJS Kenandy

Become a sponsor and get your logo on our README on Github with a link to your site.

Backers

Become a backer and get your image on our README on Github with a link to your site.

alt text alt text

License

MIT. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].