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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, this is possible. Instead of using the “Hide” feature on the “Edit” screen of the table, we’ll however need to use a different method for hiding the columns. Please try adding this to the “Custom Commands” on the “Edit” screen of the table:

    "columnDefs": [ { "visible": false, "targets": [0, 4] } ]

    This would hide the first and the fifth column of the table (counting starts with 0 in that code).

    Regards,
    Tobias

    Thread Starter NameTrove

    (@nametrove)

    That’s perfect. I just changed the target in your example to the column that I needed to hide, and now the search works exactly the way I need it to.

    Thanks, again
    Bob

    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 ‘Including a hidden column in the search’ is closed to new replies.