Editor and Autofill error on pages after 1
Editor and Autofill error on pages after 1
Hi,
I am currently receiving an error using Editor, KeyTable, and AutoFill when attempting to autofill a column vertically; the error does not happen on a first page, only after paging to subsequent pages. The error occurs in datatables.autofill.js in the current version, 2.3.0, on line 587:
// jQuery doesn't give a `table` as the offset parent oddly, so use DOM directly
currOffsetParent = $(currNode[0].offsetParent);
The error is: Uncaught TypeError: Cannot read property 'offsetParent' of undefined
The error occurs when first clicking in the cell to drag, and so dragging/copying never even takes place. I am using the current js libraries for the above : DataTables, 1.10.18, Editor 1.7.4, KeyTable 2.4.0, Autofill 2.3.0, and jQuery 3.3.1.
Can anyone tell me if they've seen this error before and if this could be a configuration issue or bug?
This question has an accepted answers - jump to answer
Answers
My configuration:
Thanks for letting me know about this! I'll check into it and post back shortly when I've got this sorted out. It does look like a bug.
Allan
I've just committed a fix for this issue. The nightly will carry the fix shortly.
Thanks again!
Allan
Thank you so much, that did the trick!