Grid with cell editing
const changelog = document.querySelector('#changelog'); Grid.grid('container', { dataTable: { columns: { product: ['Apples', 'Pears', 'Plums', 'Bananas'], weight: [100, 40, 0.5, 200], price: [1.5, 2.53, 5, 4.5] } }, events: { cell: { afterEdit: function () { changelog.innerHTML += `<strong>${this.column.id}</strong> for <strong>${this.row.data.product}</strong> was updated to ${this.value} <br />`; // eslint-disable-line changelog.scrollTop = changelog.scrollHeight; } } }, columnDefaults: { cells: { editable: true } }, columns: [{ id: 'weight' }, { id: 'product', cells: { editable: false } }] });
GridGeneral
Install with NPM
The official Highcharts NPM package comes with support for CommonJS and contains Highcharts, and its Stock, Maps and Gantt packages.
npm install highcharts --save
See more installation optionsDownload our library
The zip archive contains Javascript files and examples. Unzip the zip package and open index.html in your browser to see the examples.
DownloadBuy a license
You can download and try out all Highcharts products for free. Once your project/product is ready for launch, purchase a commercial license.
See License Pricing