Javascript Datatable Headers Are Not Updated Properly When Using

Javascript Datatable Headers Are Not Updated Properly When Using