File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 223223 }
224224 contents . addClass ( classAdded ) ;
225225
226- var rightMostContainer = $scope . grid . renderContainers [ 'right' ] ? $scope . grid . renderContainers [ 'right' ] : $scope . grid . renderContainers [ 'body' ] ;
227- $scope . isLastCol = ( $scope . col === rightMostContainer . visibleColumnCache [ rightMostContainer . visibleColumnCache . length - 1 ] ) ;
226+ $timeout ( function ( ) {
227+ var rightMostContainer = $scope . grid . renderContainers [ 'right' ] ? $scope . grid . renderContainers [ 'right' ] : $scope . grid . renderContainers [ 'body' ] ;
228+ $scope . isLastCol = ( $scope . col === rightMostContainer . visibleColumnCache [ rightMostContainer . visibleColumnCache . length - 1 ] ) ;
229+ } ) ;
228230
229231 // Figure out whether this column is sortable or not
230232 if ( uiGridCtrl . grid . options . enableSorting && $scope . col . enableSorting ) {
You can’t perform that action at this time.
0 commit comments