...
columnDefs: [
{ field: 'foo', width: 100 },
{ field: 'bar', width: 'auto', minWidth: 100 },
{ field: 'baz', width: 'auto', maxWidth: 100 },
...
...
columnDefs: [
{ field: 'bar', minWidth: 100 },
{ field: 'baz', maxWidth: 100 },
...
2. ng-grid doesn't compute dimensions properly when rendering on a hidden canvas
grid.$gridServices.DomUtilityService.RebuildGrid(
grid.$gridScope,
grid.ngGrid
);