How to place multi select filter just below header

How to place multi select filter just below header

ShomitShomit Posts: 5Questions: 2Answers: 0

I used the following code to add multi column 'select' filter and it worked great...
The problem is i want this filter below header row....I am not good at jquery...Please help

Here is data table link

https://www.datatables.net/examples/api/multi_filter_select.html

This question has an accepted answers - jump to answer

Answers

  • NineForty5NineForty5 Posts: 9Questions: 0Answers: 2
    Answer ✓

    In the script change this line:

    .appendTo( $(column.footer()).empty() )

    To this:

    .appendTo( $(column.header()))

    Example here.

  • ShomitShomit Posts: 5Questions: 2Answers: 0

    Thanks @NineForty5......I was facing this problem for long time.....and finally.....thank you very much

This discussion has been closed.