"rowReorder": true ... Causing possible bug
"rowReorder": true ... Causing possible bug
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.
This discussion has been closed.
Answers
Can you give me a link to the page showing the issue please? This example shows it working as expected.
Allan