UNPKG

ag-grid

Version:

Advanced Javascript Datagrid. Supports raw Javascript, AngularJS 1.x, AngularJS 2.0 and Web Components

27 lines (24 loc) 1 kB
<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular.min.js"></script> <!-- you don't need ignore=notused in your code, this is just here to trick the cache --> <script src="../dist/ag-grid.js?ignore=notused10"></script> <link rel="stylesheet" type="text/css" href="../dist/ag-grid.css?ignore=notused10"> <link rel="stylesheet" type="text/css" href="../dist/theme-fresh.css?ignore=notused10"> <script src="example3.js"></script> </head> <style> .bold-and-red { color: darkred; font-weight: bold; } </style> <body ng-app="example" ng-controller="exampleCtrl"> <div style="height: 6%;"> <button ng-click="onRefreshAll()">Refresh All</button> <button ng-click="onDoubleJillian()">Double Jillian</button> <button ng-click="onDoubleNiall()">Double Niall</button> </div> <div style="height: 94%;" ag-grid="gridOptions" class="ag-fresh"></div> </body> </html>