Skip to content

felixhummel/ng-grid

 
 

Repository files navigation

#ngGrid : An Angular DataGrid#

Contributors:

ng-grid Team:

Based on koGrid:

License: MIT

Dependencies: jQuery & angular.js


##About## ng-grid Originally built on knockout we wanted to port it to angular.

##Disclaimer##

ng-grid is in pre-beta release currently. We are going to be adding more features here as we head to a 1.0 release.


The bare bones:

<script type="text/javascript" src="angular.js"></script>
<script type="text/javascript" src="ng-grid.js"></script>
<script>
    angular.module('myApp',['ngGrid', ... {other includes}]);
</script>
<link rel="stylesheet" type="text/css" href="../ng-grid.css" /> 
<body ng-app="myApp">
    <div ng-grid="myOptions"></div>
<body>
// Define your own controller somewhere..
function MyCtrl($scope) {
	$scope.myData = [{name: "Moroni", age: 50},
                     {name: "Tiancum", age: 43},
                     {name: "Jacob", age: 27},
                     {name: "Nephi", age: 29},
                     {name: "Enos", age: 34}];
	$scope.myOptions = { data: 'myData' };
	// you can also specify data as: $scope.myOptions = { data: $scope.myData }. 
	// However, updates to the underlying data will not be reflected in the grid
};

##Want More?## Check out the Getting Started and other Docs Examples are found here ##Examples## Coming soon...

##Change Log##

About

Angular Data Grid based on slickgrid/koGrid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • PowerShell 0.1%