Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble, as well as for the late answer. As I was on vacation, I didn’t have a chance to reply earlier.

    Yes, this is possible with a “Custom Command” for the DataTables JS library (to be entered on the table’s “Edit” screen):

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

    That would turn off sorting for the fourth column (counting starts with 0).

    The CSS class for the table name is tablepress-table-name, see https://tablepress.org/faq/documentation-css-selectors-styling/

    Regards,
    Tobias

    Thread Starter Nikodemsky

    (@nikodemsky)

    Thank you very much, please mark thread as resolved as i was encountered some kind of problem when i was adding this post ??

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable sorting for specific column/Table title class’ is closed to new replies.