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 4054996 commit abebf8aCopy full SHA for abebf8a
slick.grid.js
@@ -3155,6 +3155,12 @@ if (typeof Slick === "undefined") {
3155
invalidateRow(getDataLength());
3156
}
3157
3158
+ // before applying column freeze, we need our viewports to be scrolled back to left to avoid misaligned column headers
3159
+ if (args.frozenColumn) {
3160
+ getViewports().forEach(vp => vp.scrollLeft = 0);
3161
+ handleScroll(); // trigger scroll to realign column headers as well
3162
+ }
3163
+
3164
var originalOptions = utils.extend(true, {}, options);
3165
options = utils.extend(options, args);
3166
trigger(self.onSetOptions, { "optionsBefore": originalOptions, "optionsAfter": options });
0 commit comments