javascript - Implement different search method for JQuery Datatables -


i have table different columns , search box:

enter image description here

for column date value use in search box datepicker js. instead other column use default search box of datatable.

i have need diversify search, through range of dates, or text. search method seems unique , can not have different implementations.

thanks.

i have situation:

    $(.datepicker, this.footer()).on('apply.datepicker',function (ev,picker){         $(this).val(picker.startdate.format(picker.startdate.format('dd/mm/yyyy') + '|' + picker.enddate.format('dd/mm/yyyy');)          if(that.search() !== (picker.startdate.format('dd/mm/yyyy') + '|' + picker.enddate.format('dd/mm/yyyy'))){                 that.search(picker.startdate.format('dd/mm/yyyy') + '|' + picker.enddate.format('dd/mm/yyyy')).draw();         }     } 

and

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


Comments