Created
April 8, 2017 04:41
-
-
Save A2H111/0818976cb14e692e8353a6de22325897 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
ViewBag.Title = "UIGrid Page"; | |
} | |
<html ng-app="app"> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-grid/4.0.2/ui-grid.css" /> | |
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" /> | |
<link type="text/css" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.js"></script> | |
<script src="https://code.angularjs.org/1.5.0/angular-animate.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.1.2/ui-bootstrap.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.1.2/ui-bootstrap-tpls.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-grid/4.0.2/ui-grid.min.js"></script> | |
<script src="~/Scripts/angulardemo.js"></script> | |
<style> | |
.myGrid { | |
width: 700px; | |
height: 250px; | |
} | |
</style> | |
</head> | |
<body> | |
<div ng-controller="MainCtrl"> | |
<div id="grid1" ui-grid="gridOptions" class="myGrid"></div> | |
<div style="width:700px"> | |
<uib-alert ng-repeat="alert in alerts" | |
type="{{alert.type}}" | |
dismiss-on-timeout="5000" | |
close="alerts.splice($index, 1);"> | |
{{alert.msg}} | |
</uib-alert> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment