Guest User

Untitled

a guest
Jun 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. render() {
  2. return (
  3. <div id="hot-app">
  4. <HotTable data={this.data} colHeaders={true} rowHeaders={true} width="600" height="300" stretchH="all" />
  5. </div>
  6. );
  7. }
  8.  
  9. var ht = new Handsontable(document.getElementById('example1'), options);
  10.  
  11. componentDidMount() {
  12. const hot = new Handsontable(document.getElementById('hot'));
  13. // hot.countCols();
  14. }
  15.  
  16. render() {
  17. return (
  18. <React.Fragment>
  19. <HotTable id="hot" settings={...} />
  20. </React.Fragment>
  21. );
  22. }
Add Comment
Please, Sign In to add comment