Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html data-ng-app="app">
<head>
  <base href="//handsontable.github.io/ngHandsontable/node_modules/">
  <link rel="stylesheet" href="handsontable/dist/handsontable.full.css">
  <script src="angular/angular.js"></script>
  <script src="handsontable/dist/handsontable.full.js"></script>
  <script src="../dist/ngHandsontable.js"></script>
  <!-- demo helpers -->
  <script src="../demo/js/services/dataFactory.js"></script>
  <meta charset="utf-8">
</head>
<body data-ng-controller="MainCtrl as ctrl">
  <hot-table
    hot-id="my-handsontable"
    settings="ctrl.settings"
    >
  </hot-table>
  <br>
  <span>Rows: {{ ctrl.rows }}</span>
  <br>
  <span>Columns: {{ ctrl.columns }}</span>
  <br><br>
  <button ng-click="ctrl.count()">Count rows calling Handsontable instance directly</button>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers