how to download dataTables.htmlColumnFilter.js ?

how to download dataTables.htmlColumnFilter.js ?

cnodomcnodom Posts: 1Questions: 0Answers: 0
edited September 2011 in Plug-ins
how to download dataTables.htmlColumnFilter.js ?

Dear how can i download how to download dataTables.htmlColumnFilter.js ?

I need this script ....

I am finding in http://www.datatables.net/plug-ins/filtering but not found.

Best regards

Replies

  • jp_noronhajp_noronha Posts: 59Questions: 0Answers: 0
    I think the piece of code you're searching is this:

    [code]
    $.fn.dataTableExt.ofnSearch['html'] = function ( sData ) {
    var n = document.createElement('div');
    n.innerHTML = sData;
    if ( n.textContent ) {
    return n.textContent.replace(/\n/g," ");
    } else {
    return n.innerText.replace(/\n/g," ");
    }
    }
    [/code]

    you just have to save it with the name "dataTables.htmlColumnFilter.js", if that is your choice, and call it before initializing datatables.

    Best regards,
    Joao Noronha
This discussion has been closed.