Skip to content
Prev Previous commit
Next Next commit
Revert "Revert "Update ui-grid-column-resizer.js""
This reverts commit cd17aeb.
  • Loading branch information
Jameel99 committed Sep 18, 2020
commit 31360f2a3012dd937fc450142323ec4575db347d
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