I am not able to use RuleJS (formula support) with setup handsontable + angularjs.
In angular data is loaded but only formula support functionality is not working at all.Same thing is working without angular ( in jquery).
I am not able to use RuleJS (formula support) with setup handsontable + angularjs.
In angular data is loaded but only formula support functionality is not working at all. Same thing is working without angular ( in jquery). I am wondering if Is there any specific file I need to add for angular ?
code
<hot-table
settings="{settings }"
rowHeaders="true"
minSpareRows="minSpareRows"
datarows="data1"
height="300"
width="700">
</hot-table>
<script>
var app = angular.module("app", ['ngHandsontable']);
app.controller('mainController', function ($scope, $http, $timeout) {
debugger
$scope.data1 = [
['=$B$2', "Maserati", "Mazda", "Mercedes", "Mini", "=A$1"],
[2009, 0, 2941, 4303, 354, 5814],
[2010, 5, 2905, 2867, '=SUM(A4,2,3)', '=$B1'],
[2011, 4, 2517, 4822, 552, 6127],
[2012, '=SUM(A2:A5)', '=SUM(B5,E3)', '=A2/B2', 12, 4151]
];
$scope.settings = ({
data: data1,
minSpareRows: 1,
colHeaders: true,
rowHeaders: true,
contextMenu: true,
manualColumnResize: true,
formulas: true
});
});
</script>