Column filtering with ScrollX
Column filtering with ScrollX
Link to test case: https://onecompiler.com/html/3xenhg27a
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
When I added column filtering with ScrollX, the data columns are not aligned with the filter search box. but when I click inside any search box, then it looks fine.
The full code can be seen here: https://onecompiler.com/html/3xenhg27a
This question has accepted answers - jump to:
Answers
That test case isn't running, I get the message, "User must login to run web languages
". Could you create a test case on http://live.datatables.net instead, please.
Colin
My guess is you need to call
columns.adjust()
.Allan
colin, I copied it to http://live.datatables.net/jegetohi/1/edit
Thanks for that test case. As Allan said, it just needs that
columns.adjust()
call - see your example updated here.Colin
Thank you Allan and Colin for your help.