Description of problem:
I have data tables with server-side configured.
I can load data for detailed view with a click on a specific row, when click AJAX will pull data and show in the window.
How can I load data or run AJAX by keyboard up-down arrow keys? This means when I move to the next record it should run AJAX.
Currently, I am running AJAX as below with click.
$(document).on(
"click",
"#myTable tbody td:not(:first-child)",
function() {
var rowdata = $("#expensesTable")
.DataTable()
.row($(this).parents("tr"))
.data();
jQuery.ajax({.....