Datatables headers not full width on page load
问题 When loading my web application page with datatables, the datatable is loaded but the <thead> row is not full width of the table. After editing the data, or searching in the datatable search, the header jumps to full width. See picture. Any solution or workaround for this? Screenshot of datatable: My normal datatables are fine, but this one is loaded within a modal. Code modal: <!-- Get selected shops modal --> <div id="SelectedShopsModal" class="infomodal"> <div class="shops-content"> <h2>