Support » Plugin: TablePress » Disable Sorting in a Column

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi Eric,

    thanks for your question, and sorry for the trouble.

    For that, please try adding this into the “Custom Commands” textfield on the “Edit” screen of the table:

    "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 2, 3 ] } ]

    This turns off sorting for the third and fourth column (counting starts with 0 in the code).

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Disable Sorting in a Column’ is closed to new replies.