table-react

1.0.9 • Public • Published

Datatables with React

Example Usage

import ReactDatatable from 'table-react';
           or
var ReactDatatable =  require('table-react');

data = [
        [
          "Tiger Nixon",
          "System Architect",
          "Edinburgh",
          "5421",
          "2011/04/25",
          "$320,800"
        ],
        [
          "Garrett Winters",
          "Accountant",
          "Tokyo",
          "8422",
          "2011/07/25",
          "$170,750"
        ]
    ],
    
columns = [
            { title: "Name" },
            { title: "Position" },
            { title: "Office" },
            { title: "Extn." },
            { title: "Start date" },
            { title: "Salary" }
        ],

 config = {
            paging : false
        }
        
<ReactDatatable data={this.data} columns={this.columns} config={this.config} />

Readme

Keywords

none

Package Sidebar

Install

npm i table-react

Weekly Downloads

4

Version

1.0.9

License

ISC

Last publish

Collaborators

  • rohanveer