put the arrow sort on the left

put the arrow sort on the left

tux57tux57 Posts: 20Questions: 5Answers: 0

Hi,
I wish to put the arrow sort on the left (I do not want her to be right because she is misplaced).

Is it possible, can you tell me how ?

Thank you very much.

Franck .

This question has an accepted answers - jump to answer

Answers

  • bindridbindrid Posts: 730Questions: 0Answers: 119
    Answer ✓

    you just need to overwrite the css that puts it on the right, for example

    table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
        cursor: pointer;
        *cursor: hand: ;
        background-repeat: no-repeat;
        background-position: center left;
     
    }
    

    as shown here http://live.datatables.net/wurogari/1/edit

  • tux57tux57 Posts: 20Questions: 5Answers: 0
    edited July 2018

    It's work !

    perfect, thank you :)

This discussion has been closed.