Does Scroller is confilct with KeyTable

Does Scroller is confilct with KeyTable

jkjkjjkjkj Posts: 8Questions: 4Answers: 0

hello,all
i create a datatable with the following codes:

table = $("#Table").on('key-focus', function (e, datatable, cell) {
console.log("the key pressed and do something……")
}).DataTable({
keys: true,
scrollY: "200px",
autoWidth: false,
deferRender: true,
paging: true,
scroller: true,
scrollX: true,
responsive: false,
columns: [{
title: 'column1',
orderable: false,
width: "100%",
render: function (data, type, valueOfElement, meta) {
return data = '……';
}
}]
});

and when i select a cell,i wanna switch to the last cell by press the up arrow key,however,it failed.
so i wanna know if Scroller is confilct with KeyTable?and how to solve it?

Answers

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin

    It seems to work okay in this example.

    Please link to a test case showing the issue.

    Allan

Sign In or Register to comment.