Problems with DataTable inline fields in Editor 2.1.2 (and one more in DataTable 1.13.4)

Problems with DataTable inline fields in Editor 2.1.2 (and one more in DataTable 1.13.4)

BjornHaBjornHa Posts: 36Questions: 6Answers: 0
edited April 2023 in Editor

I have no testcase to show as this is very large code base but are willing to give access to the site itself.
Allan already has a login to the site since some years back.

**Tried to upload configuration data
**Console gives this warning when loading the function:
"
DevTools failed to load source map: Could not load content for https://debug.datatables.net/dist/css/maps/debug.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
"
and the uploads fail when the function is triggered.

**Upgrading from Editor 2.0.7 to 2.1.2 gives the following error in console:
**
Uncaught TypeError: Cannot read properties of undefined (reading 'top')
at i (dataTables.editor.min.js:6:55749)
at R.<anonymous> (dataTables.editor.min.js:6:56099)
at R.i (jquery.min.js?ver=3.6.3:2:40147)
at R.dispatch (jquery.min.js?ver=3.6.3:2:43184)
at y.handle (jquery.min.js?ver=3.6.3:2:41168)
at Object.trigger (jquery.min.js?ver=3.6.3:2:71790)
at e.<computed>.triggerHandler (jquery.min.js?ver=3.6.3:2:72469)
at R._e [as _event] (dataTables.editor.min.js:6:35128)
at R.Se [as _postopen] (dataTables.editor.min.js:6:40721)
at R.Wt [as open] (dataTables.editor.min.js:6:25965)

**Upgrade from DataTables 1.13.1 to 1.13.4 gives rendering issues in Editor on DataTable field.
**This is not related tio the above error, it is still there when Editor is using 2.0.7 version and vice verse.

1.13.1

1.13.4

Versions:
DataTables Up to date 1.13.4 1.13.4
Buttons Up to date 2.3.6 2.3.6
Editor Up to date 2.1.2 2.1.2
FixedColumns Up to date 4.2.2 4.2.2
KeyTable Up to date 2.8.2 2.8.2
RowGroup Up to date 1.3.1 1.3.1
Scroller Up to date 2.1.1 2.1.1
Select Up to date 1.6.2 1.6.2

CSS
<link href="https://cdn.datatables.net/v/bs4/jszip-2.5.0/dt-1.13.4/b-2.3.6/b-colvis-2.3.6/b-html5-2.3.6/b-print-2.3.6/date-1.4.0/fc-4.2.2/kt-2.8.2/rg-1.3.1/sc-2.1.1/sl-1.6.2/datatables.min.css" rel="stylesheet"/>
JS



I will gladly provide access to site and instructions on how to open the relevant page for better understanding in PM.

KR,
Bjørn Hasselberg

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin

    HI Bjørn,

    Can you PM me details to the page access please?

    Thanks,
    Allan

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Thanks for the details by PM.

    Two issues:

    1) The JS error is happening if scrolling is enabled for a datatable input and there are no items selected. I've fixed that locally and it will be in the next release. I can send you a copy of the fix if you'd like? Can I e-mail you at the address used for your account?

    2) The table's don't collapse correctly. I've added a fix for that as well.

    Allan

  • BjornHaBjornHa Posts: 36Questions: 6Answers: 0

    Hi Allan,

    Please send the copy. Fine to use the adress used for my account.

    Many thanks,
    Björn H

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Thank you - email sent :)

    Allan

Sign In or Register to comment.