mkoryak/floatThead

Original header being spoiled

l736k opened this issue · 3 comments

l736k commented

Hi, I'm using your script with Bootstrap 3 as follows:

mainTable.floatThead({
	responsiveContainer: function(table){
		return table.closest('.table-responsive');
	},
	zIndex: 2,
	autoReflow: true
});
mainTable.floatThead('reflow');

Problem is that once called the first part of the script, the new header is correctly created while the original one is spoiled (it became circa 20px heigher).
The only way to make the original header return to the correct height (and so disappear under the dynamic header) is to use the reflow method.

Am I missing something or doing something wrong?

please reopen if you ever come back and have a jsfiddle

lock commented

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.