• Resolved werter2

    (@werter2)


    Hi, is it posible to have ascending/descending sorting only for some columns? (for example for price, but not for item number). Thanks for reply.

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    For that, you can use a “Custom Command” on the table’s “Edit” screen to deactivate sorting in some columns, e.g.

    "columnDefs": [ { "orderable": false, "targets": [ 2, 3, 4 ] } ]
    

    This would turn off sorting for the third, fourth, and fifth column (counting starts with 0).

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Sorting only for some columns’ is closed to new replies.