afnFiltering not function...please help me to findout what to do

afnFiltering not function...please help me to findout what to do

botakara2botakara2 Posts: 2Questions: 1Answers: 0

Hi allan,

i want to ask you regarding function afnFiltering. i want to do custom filter. but afnFiltering not function. i am newbie. and please findout what is my problem and careless

Answers

  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67

    not sure what kind of custom filtering you want to make, but you can take a look at my yadcf plugin for datatables , it have 9 different filter types , its also have a completely custom filtering ability , see first column select box in the table header
    http://yadcf-showcase.appspot.com/DOM_source.html

    if relevant read docs and inspect showcase examples

  • botakara2botakara2 Posts: 2Questions: 1Answers: 0
    edited October 2014

    how do you that thing?..... what amazing.... but i just wwant the simple way want to filter date.....i have done to follow that example coding below....only to display aData

    $.fn.dataTableExt.afnFiltering.push(
    function( oSettings, aData, iDataIndex ) {
    console.dir(aData);
    }
    );
    $(document).ready(function() {

    var oTable = $('#example').dataTable();
    $('#min').keyup( function() { oTable.fnDraw(); } );
    $('#max').keyup( function() { oTable.fnDraw(); } );
    

    } );

This discussion has been closed.