add buttons in row with onclick - event: Uncaught Unable to automatically determine field from sourc

add buttons in row with onclick - event: Uncaught Unable to automatically determine field from sourc

DigoDigo Posts: 8Questions: 3Answers: 0

Hi!

I add some html-buttons in the last row of a table and try to create on-click calls, when user clicks on a button.
I get this error-message:

dataTables.editor.min.js:51 Uncaught Unable to automatically determine field from source. Please specify the field name. For more information, please refer to https://datatables.net/tn/11

Field that contains buttons is not defined as an editor field, it´s just in the datatable.

Any suggestions?
Thanks
Digo

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954
    Answer ✓

    Sounds like you have inline editing enabled. In this case you will need to adjust the selector to enable inline editing in particular columns. See this example.

    Kevin

  • DigoDigo Posts: 8Questions: 3Answers: 0

    Thanks Kevin - it works fine now!

    Digo

Sign In or Register to comment.