Column Filtering

Column Filtering

fcbc.paulfcbc.paul Posts: 2Questions: 1Answers: 0
edited March 2023 in FixedHeader

Link to test case: https://datatables.net/extensions/fixedheader/examples/integration/columnFiltering.html

Description of problem: Is there a way to exclude a column from being searchable? Is there a way to not show the footer?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,144Questions: 26Answers: 4,736
    Answer ✓

    Possibly add a class to the columns you want to apply the filters to. For example:
    https://live.datatables.net/jegimaza/1/edit

    You can either add the class directly to the thead (Position and Office in the example) or using columns.className (Name in the example). It uses the column-selector of the classname to only apply to the columns defined with the class col-filter.

    Kevin

  • fcbc.paulfcbc.paul Posts: 2Questions: 1Answers: 0

    Thanks, Kevin, that answered my question about excluding columns from being searchable.

    Paul

Sign In or Register to comment.