editOnFocus: true, duplicate line without reason
editOnFocus: true, duplicate line without reason
Hello,
I use the datatable editor system like your link example with tabs input : https://editor.datatables.net/examples/inline-editing/tabControl.html
Everything is fine except with random entry without specific reason. When i click on one editable cell, then another one from the same entry or a different one, the original entry duplicate itself, without changing the total number of entry of the datatable.
On the following code :
keys: {
columns: ':not(:nth-child(-n+5))',
editor: editortable,
keys: [9],
editOnFocus: true
},
if i comment editOnFocus: true, the problem will not proc again, but i need this property to navigate with tabs input.
Do you have any idea of what might be the problem ?
thanking you in advance for your advice
This question has an accepted answers - jump to answer
Answers
Can you link pt a page showing the issue please? I've not seen that behaviour before, so I'd need to debug it.
Thanks,
Allan
I fixed it, it was a problem with a double id définition and the DT_ROW id was incorrect....
Thx for your quick reply !
Super - thanks for letting me know. Glad to her you've got it resolved.
Allan