Possible bug when exiting editing on top of another cell
Possible bug when exiting editing on top of another cell

in Editor
Good day, this feels like a bug to me
- I'm using latest version 1.6.5
- load a table
- Do a filtering search on search box to search via some criteria
- go to any cell
- click on the cell and edit it
- now comes the key, if in order to finish the "on the spot" editing, you click completely outside of the table then all is ok.
- However if you click on a different cell, the editing finishes ok, but then try to delete the searching criteria and nothing happens because a javascript error has been triggered : "dataTables.editor.min.js:51 Uncaught TypeError: Cannot read property 'contents' of undefined
at f.inline (dataTables.editor.min.js:51)
at HTMLTableElement.<anonymous> (dataTables.editor.min.js:50)
at HTMLTableElement.fn (jquery-1.12.4.js:"
etc, etc
this happens consistently, its very easy to replicate.
So in order not to trigger the error, I have to make sure that after the editing I click completely outside of the table to finish the editing
Jav
This discussion has been closed.
Replies
A forum search yields this result:
https://datatables.net//forums/discussion/comment/86077/#Comment_86077
The description and error sound the same as yours. Does that post help? If not please post your JS code.
Kevin
wow, it worked, great help Kevin, super helpful

thanks a lot