This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import $ from 'jquery'; | |
import '../css/dataTable.css'; | |
import '../css/dataTableFixedColumns.css'; | |
import '../css/dataTableEditor.css'; | |
// import 'datatables.net-buttons-dt/css/buttons.dataTables.min.css'; | |
// import 'datatables.net-dt/css/jquery.dataTables.css'; | |
import Log from './Log'; | |
require('datatables.net'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import DataTable from '../Components/DataTable'; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
columns: [ | |
{ title: "name", name: "name" }, | |
{ title: "position", name: "position" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import $ from 'jquery'; | |
import 'datatables.net-dt/css/jquery.dataTables.css'; | |
$.DataTable = require('datatables.net'); | |
$.fixedColumns = require('datatables.net-fixedcolumns'); | |
export default class DataTable extends React.Component { | |
constructor(props) { | |
super(props); | |
this.datatable = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Navigator extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
authUser: null | |
}; | |
} | |
componentWillReceiveProps(nextProps) { | |
if (this.props.authUser !== nextProps.authUser) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.1.3 |