I want sort the table data with date picker using below method. Could you suggest me what can i do?

I want sort the table data with date picker using below method. Could you suggest me what can i do?

vsverma11vsverma11 Posts: 12Questions: 4Answers: 0

Hi Everyone,

Kindly help with reference below code. I want the sort the data of datatable using datepicker of jquery.

Could you suggest me that what should i do in this code???

$('#example tfoot th#Bkdate, th#entry').each(function () {
var title = $('#example thead th').eq($(this).index()).text();
$(this).html('<input type="text" placeholder="Search ' + title + '" />');
});
dataTableInstance.api().columns().every(function () {
var dataTableColumn = this;

                        $(this.footer()).find('input').on('keyup change', function () {
                            dataTableColumn.search(this.value).draw();
                        });

Regards,
vsverma11

This discussion has been closed.