datatable header misaligned
datatable header misaligned

Hi i have a problem with my gridview when it load the header are misaligned but when i click on one of the colum to sorte it they align. I noticed that the width its 100px in the hader when it load.
my table is the with this proprities:
"autoWidth": true,
"info": false,
"paging": false,
"searching": false,
"scrollY": "30vh",
"scrollCollapse": true
P.S. i am sorry for my bad english.
This discussion has been closed.
Answers
Hi @SonicMast3r ,
It sounds like you need to add an
columns.adjust()
, possibly ininitComplete
.If that doesn't help, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Hi @colin i cannot put the link to the page here because its private project when i have a few minutes i will try to make a js fiddle so maybe you can help me.