multi filter is not working

multi filter is not working

sunilomreysunilomrey Posts: 1Questions: 1Answers: 0

Hi, this is my code. I am trying to multi filter ajax. Please help me fix this.

 $(document).ready(function () {
         $('#student_data tfoot th').each( function () {
             var title = $(this).text();
             $(this).html( '<input type="text" placeholder="Search '+title+'" />' );

        var datatable = $('#student_data').DataTable({
            "processing": true,
            "serverSide": true,
            "order": [],
            "ajax": {
                url: "<?php echo base_url(); ?>main/get_student_data",
                type: "post"

        datatable.columns().every( function () {
        var that = this;
        $( 'input', this.footer() ).on( 'keyup change', function () {
            if ( !== this.value ) {
                    .search( this.value )
        } );
    } );


  • allanallan Posts: 45,738Questions: 1Answers: 6,283 Site admin


    Thanks for your question. Per the forum rules please do not post duplicates (I've deleted your other thread on this topic now) and please post a link to a test case showing the issue so we can offer some help.

    Since you are using server-side processing you would need to make sure that your server-side script supports multi-column filtering.


Sign In or Register to comment.