Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3744

Editor and Autofill error on pages after 1

$
0
0

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?


Viewing all articles
Browse latest Browse all 3744

Trending Articles