Handsontable example

HTML

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/handsontable/handsontable@release/8.0.0-beta.1/dist/handsontable.full.css">
<script src="https://cdn.jsdelivr.net/gh/handsontable/handsontable@release/8.0.0-beta.1/dist/handsontable.full.js"></script>
<div id="example1" class="hot handsontable htRowHeaders htColumnHeaders"></div>

CSS

.htUIMultipleSelectHot, .htUIMultipleSelectHot .ht_master {
  height: 350px !important;
}

JavaScript

document.addEventListener("DOMContentLoaded", function() {
  
  var
    example1 = document.getElementById('example1'),
    settings1,
    hot1;
  
  settings1 = {
    data: Handsontable.helper.createSpreadsheetData(100, 10),
    rowHeaders: true,
		filters: true,
		dropdownMenu: true,
    colHeaders: true,
    contextMenu: true
  };
  hot1 = new Handsontable(example1, settings1);
  
  Handsontable.hooks.add('modifyColWidth', function(width) {
  	if (this === hot1.getPlugin('dropdownMenu').menu.hotMenu) {
	  	return 300;
    }
    
    return width;
  })

});