WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Filter only on some columns

[Resolved] Filter only on some columns

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

    @tobiasbg

    Hi,

    thanks for your post.

    Are you refering to the “DataTables ColumnFilterWidgets” Extension?
    And can you please post a link to the page with your table, and tell me which columns don’t need the filter?
    I should then be able to tell you the necessary code to achieve this.

    Regards,
    Tobias

    Hello,

    I use the plugin in French so maybe I do not have the right term….

    On top of each column, there is small arrows to classify the column by…

    Thanks !

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    those are sort arrows. So, you actually want to turn of sorting on some columns?

    Can you please post a link to the page with the table, and tell me which columns you don’t want to have sortable?

    Regards,
    Tobias

    Sure ! What is your e-mail ?

    ( Website is currently private, under construction)

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    ah, ok. Then yes, please send me an email. The address is in the main plugin file “tablepress.php”.

    Regards,
    Tobias

    E_mail sent ! 🙂

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    great! Thanks! I have made the necessary changes. Basically, you just need this extra code in the “Custom Commands” textfield:

    "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 3, 4, 5, 6, 7 ] } ]

    Best wishes,
    Tobias

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

    THANK YOU SO MUCH !!! 🙂

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    no problem, you are very welcome! 🙂

    Best wishes,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Filter only on some columns’ is closed to new replies.