In the following image table header is not rendered properly. jQuery Dtatables is shown in accordion menu.

![Screenshot](https://i.stack.imgur.com/8Miw1.png)

My code is shown below:

```js
$('#'+initId).DataTable({
    "responsive": true,
    "scrollY": "260px",
    "scrollCollapse": true
});

```