"rowReorder": true ... Causing possible bug

"rowReorder": true ... Causing possible bug

GG Posts: 16Questions: 7Answers: 0

Hello Allan,

I have been using the editor successfully. However, very recently I added property "rowReorder": true to my grid.
After which, the editor has stopped working.

It breaks on the following code in Editor.js

            // Use the row's id
            if (idSrc === null) {
                var d = rowApi.data();
                return d.DT_RowId !== undefined ? 
                    d.DT_RowId :
                    rowApi.node().id;
            }

dataTables.editor.js:4765 Uncaught TypeError: Cannot read property 'DT_RowId' of undefined

As soon as you remove that property it works fine.

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    Can you give me a link to the page showing the issue please? This example shows it working as expected.

    Allan

This discussion has been closed.