LEFT of title sorting indicators

LEFT of title sorting indicators

JohnVidiJohnVidi Posts: 1Questions: 0Answers: 0

Tons of stuff, but is there a way to make all the sorting icons to left of header or at least close to the header title? Without that have to use ng-datatable which is beautiful, but misses oter features of this product. Current sorn idicators are sub par.

Help would be wonderful.

Replies

  • rf1234rf1234 Posts: 3,179Questions: 92Answers: 438
  • allanallan Posts: 65,162Questions: 1Answers: 10,796 Site admin

    Worth also looking at this example where the header text is always on the left, and the icons at the right of the header cells.

    I'll take a look and see what CSS is needed to place them next to the title text (which is what you want if I've understood correctly?) - shouldn't be too hard with the new structure in the header.

    Allan

  • allanallan Posts: 65,162Questions: 1Answers: 10,796 Site admin
    table.dataTable thead > tr > th div.dt-column-header {
      justify-content: flex-end;
      flex-direction: row-reverse;
    }
    

    Will get the sort icons on the left of the header title:

    Is that what you are looking for?

    Allan

Sign In or Register to comment.