Use visibility collapse/visible instead of hide/show
.hide() uses CSS display none which shift the position of the cell while visibility collapse keeps the size of the cell.
This commit is contained in:
1 parent
21e85b170d
commit
7bee0ff4f2
1 file changed
+2
-2
+2
-2
@@ -2037,9 +2037,9 @@
|
||||
cell.css('width', width + '%');
|
||||
}
|
||||
if (cell.children().css('display') == 'none') {
|
||||
cell.hide();
|
||||
cell.css('visibility', 'collapse');
|
||||
} else {
|
||||
cell.show();
|
||||
cell.css('visibility', 'visible');
|
||||
}
|
||||
i += colspan;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user