Can I mask the ordering « sign » in the columns header without changing the CSS ?

Can I mask the ordering « sign » in the columns header without changing the CSS ?

MelodyNelsonMelodyNelson Posts: 213Questions: 33Answers: 2

Link to test case: https://live.datatables.net/mepisike/4/edit?html,css,js,output
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

Hi,

In this example, I don't want the « ordering » chars to be visible in the header and disable the ordering for all columns.

https://live.datatables.net/mepisike/4/edit?html,css,js,output

new DataTable('#example', {
    columnDefs: [
        { orderable: false, targets: '_all' }
    ],
  //  orderFixed: [[0, 'desc'], [1, 'desc']],
    order: [[0, 'desc'], [1, 'desc']],
    rowGroup: {
      dataSrc: ['0'],
    }
});

Can I mask the « triangles » without changing the CSS ?

It's really a newbie question... sorry

Thanks for your help

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.