src/DataTable.php
protected function getJavascriptSearchPart()
    {
        if (!$this->individualColumnFiltering) {
            return '';
        }
        $js = 'var '.$this->tableName.'Api = '.$this->tableName.'.api(true);'."\n"
            .'$("#'.$this->tableName.' tfoot th").each( function(colI) {'."\n"
                .'$(".sSearch", this).on("keyup change", function (e) {'."\n"
                .($this->isServerSide() ? '    if ( e.keyCode == 13 ) {'."\n" : '')
                .'        '.$this->tableName.'Api.column( colI ).search('
                .'            '.($this->renderFilterOperators ? '( this.tagName != "INPUT" ||  this.value == \'\' ? \'\' : $(this).prev().find("select").val()) + this.value ' : ' this.value ')
                .'        ).draw();'."\n"
                .($this->isServerSide() ? '    }'."\n" : '')
                .'});'."\n"
            .'});'."\n";

        return $js;
    }
protected function getJavascriptSearchPart()
    {
        if (!$this->individualColumnFiltering) {
            return '';
        }
        $js = 'var '.$this->tableName.'Api = '.$this->tableName.'.api(true);'."\n"
            .'$("#'.$this->tableName.' tfoot th").each( function(colI) {'."\n"
                .'$(".sSearch", this).on("keyup change", function (e) {'."\n"
                .($this->isServerSide() ? '    if ( e.keyCode == 13 ) {'."\n" : '')
                .'        '.$this->tableName.'Api.column( colI ).search('
                .'            '.($this->renderFilterOperators ? '( this.tagName != "INPUT" ||  this.value == \'\' ? \'\' : $(this).prev().find("select").val()) + this.value ' : ' this.value ')
                .'        ).draw();'."\n"
                .($this->isServerSide() ? '    }'."\n" : '')
                .'});'."\n"
            .'});'."\n";

        return $js;
    }
protected function getJavascriptSearchPart ( ) { if ( ! $ this -> individualColumnFiltering ) { return '' ; } $ js = 'var ' . $ this -> tableName . 'Api = ' . $ this -> tableName . '.api(true);' . "\n" . '$("#' . $ this -> tableName . ' tfoot th").each( function(colI) {' . "\n" . '$(".sSearch", this).on("keyup change", function (e) {' . "\n" . ( $ this -> isServerSide ( ) ? '    if ( e.keyCode == 13 ) {' . "\n" : '' ) . '        ' . $ this -> tableName . 'Api.column( colI ).search(' . '            ' . ( $ this -> renderFilterOperators ? '( this.tagName != "INPUT" ||  this.value == \'\' ? \'\' : $(this).prev().find("select").val()) + this.value ' : ' this.value ' ) . '        ).draw();' . "\n" . ( $ this -> isServerSide ( ) ? '    }' . "\n" : '' ) . '});' . "\n" . '});' . "\n" ; return $ js ; }
Generate the javascript relative to the individual column filtering

@return string
Generate the javascript relative to the individual column filtering