Responsive table - random columns width on each reload
Responsive table - random columns width on each reload
sergeda
Posts: 42Questions: 16Answers: 0
I have specified width="100%" on my table.
And inside columns section on DT initialization I specified width in percent for each column. But on each reload I got different width of the columns. When I look at html of the page I see that some th elements got style="width: 0px;"
Why is this so? How can I fix this issue?
This discussion has been closed.
Answers
Also I must to add that I don't use Responsive extension
Sounds like you are initialising the table while it is hidden. Call
columns.adjust()
when you make it visible.Allan