Hidden arrow sort
Hidden arrow sort

Hi, i have a question. Is it possible to hidden the arrow up and arrow down for the columns where there isn't a title?
Ex:
Col1, Col 2 without up-down arrow | Col 3, Col 4, Col 5 with up-down arrow
Ex Table:
| | Product Name Up-Down | Customer Name UP-Down | Data up-down
I hope I was clear
Thanks
This discussion has been closed.
Replies
Just make those columns non-orderable:
https://datatables.net/reference/option/columns.orderable
One option might be to use the
order
to remove the sorting classes applied by Datatables, like this:http://live.datatables.net/hepiraka/1/edit
It removes the applied classes each time the table is sorted. Also it initially removes the classes in
initComplete
.Kevin