Custom filtering on multiple tables

Custom filtering on multiple tables

jd_dot_DataTablesjd_dot_DataTables Posts: 5Questions: 0Answers: 0
edited December 2013 in General
hello :) I red http://datatables.net/examples/plug-ins/range_filtering.html and I get it.
Now the problem is that I have a few tables on the site and I want to make dynamic filtering. Now I do not know how would I distinguish between data from each table, and apply certain (dynamic) filters to it.

Any thoughts. Thank you.

Replies

  • jd_dot_DataTablesjd_dot_DataTables Posts: 5Questions: 0Answers: 0
    I found the solution http://stackoverflow.com/questions/12199759/datatables-custom-filtering
  • jd_dot_DataTablesjd_dot_DataTables Posts: 5Questions: 0Answers: 0
    Ok now that I try to implement trivial filter the filter doesn't get picked up, I don't get any logs in console nor empty tables.

    dataTables.edCustomFilter.js ->
    [code]/* Custom filtering function which will filter data in columns */
    $.fn.dataTableExt.afnFiltering.push(
    function (oSettings, aData, iDataIndex) {
    console.log('anything');
    return false;
    }
    );[/code]

    and the HTML is
    [code]
    [/code]

    and none of the tables get initiated by DT before this two lines.

    What could be wrong? I ma using latest DT 1.9.4

    Thank you
  • jd_dot_DataTablesjd_dot_DataTables Posts: 5Questions: 0Answers: 0
    It was the 'bFilter': true, property which was set to false
This discussion has been closed.