Fixe #3190 - DataTable frozen columns in footer not freezing

pull/3711/head
Tuğçe Küçükoğlu 2023-03-09 10:38:01 +03:00
parent c47ff27d2c
commit 3fce1c5c41
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export default {
let next = this.$el.nextElementSibling; let next = this.$el.nextElementSibling;
if (next) { if (next) {
right = DomHandler.getOuterWidth(next) + parseFloat(next.style.left); right = DomHandler.getOuterWidth(next) + parseFloat(next.style.right || 0);
} }
this.styleObject.right = right + 'px'; this.styleObject.right = right + 'px';
@ -53,7 +53,7 @@ export default {
let prev = this.$el.previousElementSibling; let prev = this.$el.previousElementSibling;
if (prev) { if (prev) {
left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left); left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
} }
this.styleObject.left = left + 'px'; this.styleObject.left = left + 'px';