• Resolved li190684

    (@li190684)


    I need filtering for “1” columns, but filtering whatever for all columns.
    I use parameters:
    [table id=5 datatables_filter=true filter_columns="1"/]
    I also installed plugins tablepress-row-filter, tablepress-datatables-columnfilter and tablepress-change-datatables-strings… But nothing
    Please, help me..

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I see what you mean, but you will need a slightly different way. To turn off filtering for the second and third column, you can add this to the “Custom Commands” text field on the table’s “Edit” screen:

    "columnDefs": [ { "searchable": false, "targets": [ 1, 2 ] } ]
    

    (the 1 and 2 mean the second and third column here, because counting starts with 0).

    Regards,
    Tobias

    Thread Starter li190684

    (@li190684)

    Super!! Thank You very much!!!

    Plugin Author Tobias Bäthge

    (@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!

    Hello TobiasBg,

    I really love this plugin,
    i have added this short code as
    [table id= 194 responsive=scroll datatables_fixedheader=top “columnDefs”: [ { “searchable”: false, “targets”: [ 1, 2 ] } ] /]
    But its not working. I could have inserted it badly, kindly show me the right format

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The problem in this Shortcode is that “Custom Command”

    "columnDefs": [ { "searchable": false, "targets": [ 1, 2 ] } ]
    

    The Shortcode is the wrong place for that. Please put this into the “Custom Commands” text field on the table’s “Edit” screen.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘TablePress filter columns (specific columns)’ is closed to new replies.