ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Last column width

Open pro85 opened this issue 13 years ago • 3 comments

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;

pro85 avatar Jun 05 '13 08:06 pro85

This is wrong way. Becouse last column may be with visible:false.

pro85 avatar Jun 06 '13 06:06 pro85

@pro85 Can you try with the latest version? It's pointing at the 2.0.7 branch.

http://plnkr.co/edit/dyA446?p=preview

jonricaurte avatar Jun 25 '13 06:06 jonricaurte

Yes works fine.

pro85 avatar Jun 26 '13 18:06 pro85