Search code examples
javascriptdatetimepaginationeventtrigger

Event Trigger Is not Function


In the pagination grid we are using key up change event function for filter the table values. In that Key up change event working fine but after getting the filter result if i click the edit button it doesn't working on first time i need one more time to click the button to edit the form. In that issue i got the solution for this by using only key up event function instead of key up change function. But in that i faced an one more issue,the date time picker does not work on filter due to this key up event function. How do i resolve this issue?

function LoadData() {
    debugger
    dataTable.getData();
    $("th input[type=text]").on('keyup', function () {

        dataTable.otable
            .column($(this).parent().index() + ':visible')
            .search(this.value)
            .draw();
    });
}

Solution

  • You add the date picker change