Skip to content

Commit abc1e74

Browse files
Jameel99mportuga
authored andcommitted
Update ui-grid-column-resizer.js
1 parent e4b26a0 commit abc1e74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/resize-columns/src/js/ui-grid-column-resizer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@
119119
if (position === 'left') {
120120
// Get the column to the left of this one
121121
var colIndex = renderContainer.visibleColumnCache.indexOf(col);
122+
if(colIndex === 0){
123+
return renderContainer.visibleColumnCache[0];
124+
}
122125
return renderContainer.visibleColumnCache[colIndex - 1 * rtlMultiplier];
123126
} else {
124127
return col;

0 commit comments

Comments
 (0)