• Resolved SAM

    (@seanamcdwanprcorg)


    I’d like to have a column ignored for search and another invisible to the user, but still searchable (keywords). The following code is not working. Any suggestions for this noob user on how to make both commands work?

    "aoColumnDefs": [ { "bVisible": false, "aTargets": [ 8 ] } ; { "bSearchable": false, "aTargets": [ 9 ] } ]

    https://www.ads-software.com/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    To use both of the commands, you’ll just have to combine them with a comma (,) instead of a semicolon (;), like

    "aoColumnDefs": [ { "bVisible": false, "aTargets": [ 8 ] }, { "bSearchable": false, "aTargets": [ 9 ] } ]

    Regards,
    Tobias

    Thread Starter SAM

    (@seanamcdwanprcorg)

    The difference a comma makes. Thanks!

    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 ‘Enter Mulitple Custom Commands’ is closed to new replies.