Skip to content

Commit

Permalink
Revert "Revert "Update ui-grid-column-resizer.js""
Browse files Browse the repository at this point in the history
This reverts commit cd17aeb.
  • Loading branch information
Jameel99 authored and mportuga committed Sep 25, 2020
1 parent 88191a0 commit fe09d9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/resize-columns/src/js/ui-grid-column-resizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
if (position === 'left') {
// Get the column to the left of this one
var colIndex = renderContainer.visibleColumnCache.indexOf(col);
if(colIndex === 0){
return renderContainer.visibleColumnCache[0];
}
return renderContainer.visibleColumnCache[colIndex - 1 * rtlMultiplier];
} else {
return col;
Expand Down

0 comments on commit fe09d9b

Please sign in to comment.