Toby Chui 86436bdc14 init commit | há 1 ano atrás | |
---|---|---|
.. | ||
languages | há 1 ano atrás | |
pikaday | há 1 ano atrás | |
README.md | há 1 ano atrás | |
handsontable.css | há 1 ano atrás | |
handsontable.css.map | há 1 ano atrás | |
handsontable.full.css | há 1 ano atrás | |
handsontable.full.js | há 1 ano atrás | |
handsontable.js | há 1 ano atrás | |
handsontable.js.map | há 1 ano atrás | |
handsontable.min.css | há 1 ano atrás | |
handsontable.min.js | há 1 ano atrás |
The full distribution allows you to use Handsontable by including just 2 files:
<script src="dist/handsontable.full.js"></script>
<link rel="stylesheet" media="screen" href="dist/handsontable.full.css">
You can also use minified files:
<script src="dist/handsontable.full.min.js"></script>
<link rel="stylesheet" media="screen" href="dist/handsontable.full.min.css">
If you use a date picker or numeric cell types, you will also have to include Pikaday, moment.js and numbro.js.
handsontable.full.js and handsontable.full.css are compiled with all the needed dependencies (except language files - see below).
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) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pikaday/1.5.1/pikaday.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/numbro/1.11.0/numbro.min.js"></script>
<!-- Handsontable bare files -->
<script src="dist/handsontable.js"></script>
<link rel="stylesheet" media="screen" href="https://cdnjs.cloudflare.com/ajax/libs/pikaday/1.5.1/css/pikaday.min.css">
<link rel="stylesheet" media="screen" href="dist/handsontable.css">
handsontable.js and handsontable.css are compiled without the needed dependencies.
Since Handsontable 35.0.0 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="languages/pl-PL.js"></script>
<!-- Internationalization, all available language files in one file -->
<script src="languages/all.js"></script>
If you want to build your own custom Handsontable package distribution check out our guide covering all the details.