angular-ui/ng-grid — pull request #40 by timothyswt (2012-12-06 09:25:19+00:00)
Title: Column defs

* Improved template rendering when using external template files.
adding feature for issue #36 : columnDefs can now be a $scope object which can be push/pop/spliced.
* You can also pass the string name of the scope object that contains the column definitions like this:
```javascript
$scope.myDefs = [{ field: 'firstName', displayName: 'First Name', width: "*" resizable: false},
{ field: 'lastName', displayName: 'First Name', width: "20%" },
{ field: 'address', displayName: 'Last Name', width: "auto" },
{ field: 'age', cellClass: 'ageCell', headerClass: 'ageHeader', width "**"}];
$scope.gridOptions = {
data: 'myData',
columnDefs: 'myDefs'
};
```
* Fixed box model for cells and header cells.