Hi,
thanks for the question.
Yes, you can turn off sorting on certain columns with a “Custom Command” for the DataTables JavaScript library (which TablePress uses for the sorting feature).
For example, paste
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0, 1, 4 ] } ]
This would turn off sorting for columns 1, 2, and 5. (The counting of the numbers in the code starts with 0.)
Update: Just saw your reply. This code needs to go into the “Custom Commands” text field in the “Features of the DataTables JavaScript library” section on the “Edit” screen of the table. To deactivate sorting on the first two columns, you would use the value [ 0, 1 ]
in the code from above. For a list of available variables/modifies, please take a look at the DataTables documentation at https://datatables.net/usage/columns
Regards,
Tobias