Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE and hidden columns #122

Closed
thornidlo opened this issue Oct 6, 2014 · 5 comments
Closed

IE and hidden columns #122

thornidlo opened this issue Oct 6, 2014 · 5 comments

Comments

@thornidlo
Copy link

Hello, i found this problem. I need a table with some columns (TH + TD) which are hidden (display: none). If I try that in firefox + chrome, its ok. But in IE10+ widths of columns are different. I tried to rewrite html to JFIDDLE: http://jsfiddle.net/Ls7dpomh/14/, but behaviour of IE is weird.

@mkoryak
Copy link
Owner

mkoryak commented Oct 6, 2014

IE doesnt work well with hidden columns. It needs to have a row that has all columns visible (but can have height of 0 so user doesnt see it).

see this thread for more details on the issue:
#115

@ALCBerry87
Copy link

Try adding this as an option for the floatThead:
getSizingRow: function($table) {
return $table.find("tbody tr:visible:first>td:visible")
}

I had the same problem and it seems to be working for me.

@thornidlo
Copy link
Author

👍 Thank you! That option is best way for me and works perfect now. But maybe it deserves to include to plugin :).

@mkoryak
Copy link
Owner

mkoryak commented Oct 8, 2014

maybe it does, ill change the default selector to "tbody tr:visible:first>*:visible", but i wont create a new version until I get a bit more stuff in there. It will live on master

@lock
Copy link

lock bot commented Dec 11, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants