ui-grid
ui-grid copied to clipboard
Last column width
Some improvement.
In configureColumnWidths to set correct width on last visible column.
Add to the end of function:
$scope.columns.filter(function(col){
return $utils.isNullOrUndefined(col.visible) ? true : col.visible;
}).slice(-1)[0].width -= 2;
This is wrong way. Becouse last column may be with visible:false.
@pro85 Can you try with the latest version? It's pointing at the 2.0.7 branch.
http://plnkr.co/edit/dyA446?p=preview
Yes works fine.