Other resources

  • jExcel CE
    Jexcel community edition
  • jTools
    Web components, utilities and plugins
  • Javascript spreadsheets with React

    Integrating jExcel with React

    Source code

    class Jexcel extends React.Component {
        constructor(props) {
            super(props);
            this.options = props.options;
        }
    
        componentDidMount = function() {
            this.el = jexcel(ReactDOM.findDOMNode(this).children[0], this.options);
        }
    
        addRow = function() {
            this.el.insertRow();
        }
    
        render() {
            return (
                <div>
                    <div></div><br/>
                    <input type='button' value='Add new row' onClick={() => this.addRow()}></input>
                </div>
            );
        }
    }
    
    var options = {
        data:[[]],
        minDimensions:[10,10],
    };
    
    ReactDOM.render(<Jexcel options={options} />, document.getElementById('spreadsheet'))