DataTables / FixedHeader

Fix the header, footer, left or right columns of a table in place, to always show them when scrolling
http://www.datatables.net/
Other
75 stars 83 forks source link

It does not work with autoWidth #57

Closed mitar closed 9 years ago

mitar commented 9 years ago

It does not work with autoWidth (and server side loading). The header cells' widths does not adapt to the widths of the data columns.

smartcorestudio commented 9 years ago

The same thing is with local data too 2015-08-16 15_45_54- 100

It works better but still not perfect without autoWidth (there are some issues with window resizing)

DataTables commented 9 years ago

Can you link to a test case showing the issue please.

smartcorestudio commented 9 years ago

http://jsfiddle.net/smartcore/nuamc2fn/6/

smartcorestudio commented 9 years ago

Everything works OK on my page if I use external plugin for fixing header: http://mkoryak.github.io/floatThead/datatables/ I just wanted to use native solution provided by DataTables developer...

DataTables commented 9 years ago

Great thanks. I'll look at it this week. Probably Tesuday (Monday looks busy!)

DataTables commented 9 years ago

Updated example with the FixedHeader nightly: http://jsfiddle.net/nuamc2fn/7/ .

Thanks for letting me know about this issue!

mitar commented 9 years ago

Hm, I updated to latest (master branch) version of this plugin, but now nothing happens. Header does not even move anymore when scrolling. Is it possible that this is because I am using server side processing?

DataTables commented 9 years ago

Can you link to a page showing the issue please

mitar commented 9 years ago

Is there a jsFiddle which uses server side processing? I could use it to make a reproduction.

DataTables commented 9 years ago

http://live.datatables.net/sesohidi/1/edit

mitar commented 9 years ago

Sorry, it works. I just had to correctly update the CSS.