We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f16cdb0 commit 8dd0359Copy full SHA for 8dd0359
src/features/resize-columns/js/ui-grid-column-resizer.js
@@ -536,13 +536,14 @@
536
537
if (width > maxWidth) {
538
maxWidth = width;
539
- xDiff = maxWidth - width;
540
}
541
});
542
543
544
// check we're not outside the allowable bounds for this column
545
- col.width = constrainWidth(col, maxWidth);
+ var newWidth = constrainWidth(col, maxWidth);
+ xDiff = newWidth - col.drawnWidth;
546
+ col.width = newWidth;
547
col.hasCustomWidth = true;
548
549
refreshCanvas(xDiff);
0 commit comments