Removing sorting arrows AND space they would occupy from header
Removing sorting arrows AND space they would occupy from header

I know using the following removes the sorting arrows:
columnDefs: [
{
targets: 0,
orderable: false
},
However, the space they would occupy remains. This makes my details-control icons off-center, and I can't find a way to center them with that padding present. Is there a way to shrink the header column, removing the space the sorting arrows would normally occupy?
This discussion has been closed.
Answers
The details-control looks centered in this example with
orderable: false
:https://datatables.net/examples/api/row_details.html
Sounds like an issue specific to your configuration. For help debugging please post a link to your page or a test case replicating the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin