Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- render() {
- return (
- <div id="hot-app">
- <HotTable data={this.data} colHeaders={true} rowHeaders={true} width="600" height="300" stretchH="all" />
- </div>
- );
- }
- var ht = new Handsontable(document.getElementById('example1'), options);
- componentDidMount() {
- const hot = new Handsontable(document.getElementById('hot'));
- // hot.countCols();
- }
- render() {
- return (
- <React.Fragment>
- <HotTable id="hot" settings={...} />
- </React.Fragment>
- );
- }
Add Comment
Please, Sign In to add comment