The full distribution allows you to use Handsontable by including just 2 files:
<script src="dist/handsontable.full.js"></script> <link href="dist/handsontable.full.css" rel="stylesheet">
You can also use minified files:
<script src="dist/handsontable.full.min.js"></script> <link href="dist/handsontable.full.min.css" rel="stylesheet">
handsontable.full.js and handsontable.full.css are compiled with all the needed dependencies.
If you are a "Bob the Builder" kind of hacker, you will need to load Handsontable JS, CSS and their dependencies:
<!-- Required dependencies (as external scripts) --> <link href="https://email@example.com/css/pikaday.min.css" rel="stylesheet"> <script src="https://firstname.lastname@example.org/moment.min.js"></script> <script src="https://email@example.com/pikaday.min.js"></script> <script src="https://firstname.lastname@example.org/dist/numbro.min.js"></script> <script src="https://email@example.com/dist/purify.js"></script> <!-- Handsontable bare files --> <script src="dist/handsontable.js"></script> <link href="dist/handsontable.css" rel="stylesheet">
handsontable.js and handsontable.css are compiled without the needed dependencies. You will have to include
dompurify on your own ie. from JSDelivr CDN.
It is possible to include files which will register languages dictionaries. They allow to translate parts of Handsontable UI. You can either use only particular languages files or include all of them at once as a single file.
All the information about the API and additional options can be found at our official documentation.
<!-- Internationalization, Polish - Poland language-country file --> <script src="dist/languages/pl-PL.js"></script> <!-- Internationalization, all available language files in one file --> <script src="dist/languages/all.js"></script>
If you want to build your own custom Handsontable package distribution check out our guide covering all the details.