Skip to content

Commit 5cc044d

Browse files
committed
Merge pull request #3494 from timstuyckens/patch-2
Fix null reference in grouping.js
2 parents 23ca87f + 407a2f3 commit 5cc044d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/grouping/js/grouping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@
14131413

14141414
var groupLevel = typeof(row.groupLevel) !== 'undefined' ? row.groupLevel : groupingProcessingState.length;
14151415
for (var i = 0; i < groupLevel; i++){
1416-
if ( groupingProcessingState[i].currentGroupHeader.expandedState.state === uiGridGroupingConstants.COLLAPSED ){
1416+
if ( groupingProcessingState[i].currentGroupHeader && groupingProcessingState[i].currentGroupHeader.expandedState.state === uiGridGroupingConstants.COLLAPSED ){
14171417
row.visible = false;
14181418
}
14191419
}

0 commit comments

Comments
 (0)