Download
Important: To use DataGridXL 2, a commercial license is required.
Purchase a commercial license to use DataGridXL 2
Download option #1: code.datagridxl.com
The quickest way to get started is to include the Javascript file that we host on our server.
<script src="https://code.datagridxl.com/datagridxl2.js"></script>
Please note that this is not a CDN service. We do not guarantee 100% uptime.
Download option #2: npm install
Alternatively, install DataGridXL by using npm install.
npm install @datagridxl/datagridxl2
Download option #3: Github
Use Git or checkout with SVN using the web URL. Make sure to star DataGridXL on Github!
https://github.com/datagridxl/datagridxl2.git
Download option #4: Self-host
Another option is to download the Javascript file(s) and self-host the DataGridXL library. Right-click the download button of your preferred version and hit "Save link as...".
Basic Usage
To include DataGridXL as a script tag, use the ES5 version:
<div id="grid"></div>
<script src="https://code.datagridxl.com/datagridxl2.js"></script>
<script>
var grid = new DataGridXL("grid");
</script>
To use DataGridXL as an ES6 module, use the ESM (ES6) version like this:
<div id="grid"></div>
<script type="module">
import DataGridXL from './datagridxl2.esm.js';
var grid = new DataGridXL("grid");
</script>
If your Javascript-setup is more complex, you might need our UMD version, compatible with CommonJS and AMD module loading.
What about frameworks?
DataGridXL is compatible with all major frameworks.