File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 223
223
}
224
224
contents . addClass ( classAdded ) ;
225
225
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
+ } ) ;
228
230
229
231
// Figure out whether this column is sortable or not
230
232
if ( uiGridCtrl . grid . options . enableSorting && $scope . col . enableSorting ) {
You can’t perform that action at this time.
0 commit comments