This package uses the latest version of Handsontable (currently @version 0.24.1) in MeteorJS.
AtmosphereJS
meteor add awsp:handsontable
Manual Installation
packages
(Create one at your app root if you haven't done so. )meteor add awsp:handsontable
This package contains the latest yet slightly modified version of Handsontable (version 0.24.1). Minor change has been made to the UI as well. The new version of Handsontable no longer necessary requires jQuery to work. In order to introduce the latest Handsontable to Meteor, a minimum of modification was made to Handsontable in this package to fix some of the conflicts when used in Meteor.
The new way of initializing Handsontable is by following,
var data = function () {
return Handsontable.helper.createSpreadsheetData(100, 10);
};
var container = document.getElementById('example');
var hot = new Handsontable(container, {
data: data(),
minSpareCols: 1,
minSpareRows: 1,
rowHeaders: true,
colHeaders: true,
contextMenu: true
});
It is also possible to do in the old jQuery way.
$("#hot3").handsontable({
data: data,
minSpareRows: 1,
colHeaders: true,
contextMenu: true
});
Starting from package version 0.7.0, you could also enable formulas in Handsontable. This package uses the default styling from Handsontable and RuleJS. However, you can always customize to your own by changing the following 2 classes in CSS.
td.formulas
td.formula-error
$("#hot3").handsontable({
formulas: true, // Add this line to enable formulas support
data: data,
minSpareRows: 1,
colHeaders: true,
contextMenu: true
});
For more details on usage and supported formulas,
Formula support does not work with autofilling with Handsontable 0.14+.
Version 0.16.1 - Update Handsontable version to 0.24.1.
Version 0.15.0 - Update Handsontable version to 0.23.0.
Version 0.12.3 - Update Handsontable version to 0.20.3.
Version 0.12.2 - Update Handsontable version to 0.20.2.
Version 0.12.1 - Update Handsontable version to 0.20.1.
Version 0.12.0 - Update Handsontable version to 0.20.0.
Version 0.11.0 - Update Handsontable version to 0.19.0.
Version 0.10.0 - Update Handsontable version to 0.18.0.
Version 0.9.0 - Update Handsontable version to 0.17.0.
Version 0.8.1 - Update Handsontable version to 0.16.1.
Version 0.8.0 - Update Handsontable version to 0.16.0.
Version 0.7.0 - Add formulas support. Add Handsontable license. Change package summary for Handsontable.
Version 0.6.1 - Update to the latest version of Handsontable (0.15.1)
Version 0.6.0 - Bump Handsontable to version 0.15.0. Removed shadow fixes as 0.15.0 no longer have that. Minor UI tweaked. Removed unnecessary libraries as Handsontable had already included them.
Version 0.5.2 - Remove table edge shadow as this is hurting performance especially dealing with large data. Until Handsontable version 0.15.x is stable, shall remove related styles.
Version 0.5.1 - Update Handsontable to version 0.14.1. Minor tweaks of UI.
https://github.com/awsp/handsontable-meteor
MIT License