Tutorial: jQuery


Edit this page

jQuery is a library, which makes DOM manipulations and event handling easier.

Handsontable is fully compatible with jQuery - the small example below shows that the integration between the two is quick and intuitive. In order to use Handsontable as a jQuery plugin, you need to do some basic preparation:

  • Include jQuery to your page, before including Handsontable
    <script src="handsontable/lib/jquery.min.js"></script>
    <script src="handsontable/dist/handsontable.full.js"></script>
    <link rel="stylesheet" media="screen" href="handsontable/dist/handsontable.full.css">
  • Run handsontable() plugin constructor on an empty div as in the below code example: