1.0.9 • Published 7 years ago

table-react v1.0.9

Weekly downloads
3
License
ISC
Repository
-
Last release
7 years ago

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} />