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

    (@tobiasbg)

    Hi Jeroen,

    thanks for your question.

    Yes, this is possible by hiding the column with some JavaScript code for the DataTables JS library (that does the sorting). Specifically, please add this to the “Custom Commands” textfield on the “Edit” screen of the table:

    "aoColumnDefs": [ { "bVisible": false, "aTargets": [ 2,5,7 ] } ]

    The 2,5,7 indicate that the third, sixth, and eigth column shall be hidden (counting starts with 0).

    Regards,
    Tobias

    Thread Starter Jeroen Janssen

    (@jgabjanssen)

    Hello Tobias,

    Thanks!
    it works perfectly!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    very nice! ?? Great 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 ‘filter option’ is closed to new replies.