KeyTable not scrolling the page along with the key navigation

KeyTable not scrolling the page along with the key navigation

ramowramow Posts: 4Questions: 0Answers: 0
edited March 2013 in KeyTable
Hi Allan,

Please check out www.rami.name

I am using KeyTable plugin and I am having a problem where the page is not scrolling correspondingly with the key navigation.

To reproduce the bug just go to www.rami.name and keep navigate down by clicking on the arrow key down until the blue focus disappears below the fold of the visible page. The page is not following the focus.

I have followed the basic usage.

[code]
var tableId = "dataTable";

var oTable = $('#' + tableId).dataTable( {
"aaData": data,
"aoColumns": structure,
bJQueryUI: true,
sPaginationType: "full_numbers",
"iDisplayLength": 50,
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
"bLengthChange": true,
"bPaginate": true,
"aaSorting": [[11, "desc"]],
"oLanguage": {
"sZeroRecords": "No records to display"
}
});

var keys = new KeyTable( {
"table": document.getElementById(tableId),
"datatable": oTable
} );
[/code]

Is this a bug?

Replies

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    Looks like it might be - that should scroll the page. I'll look into it when I get a moment (which might be a little while yet!).

    Allan
  • ramowramow Posts: 4Questions: 0Answers: 0
    Thanks Allan. I will be waiting for you :)
  • ramowramow Posts: 4Questions: 0Answers: 0
    Allan, I just want to check with you whether you've had the chance to look at this bug/issue yet? Thanks!
  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    Thanks for the prompt - I hadn't, but I've just taken a look and committed a small change which I think will resolve it. Could you try the current nightly from the downloads page: http://datatables.net/download/

    I think KeyTable is due for a large upgrade some time soon... :-)

    Allan
  • ramowramow Posts: 4Questions: 0Answers: 0
    Allan, I've just tried it and it worked great. Thanks for all this great library! You are my hero.
  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    Great stuff - thanks for the feedback (and kind words :-) ).

    Allan
This discussion has been closed.