Editing a table without the "edit" button
Editing a table without the "edit" button
![volnistii11](https://secure.gravatar.com/avatar/14aeaf93f4564739795e2667699c41df/?default=https%3A%2F%2Fvanillicon.com%2F14aeaf93f4564739795e2667699c41df_200.png&rating=g&size=120)
Hello, I made a table in which you can change the values without clicking the "edit" button, but by clicking on the table field (according to the method from the manul). Also in my table I use the left joining by metude from the link below.
https://editor.datatables.net/examples/simple/join.html
I combined this all, all the fields are correctly changed, except for one field, which is used in the left attachment, I can only change it using the "edit" button. Is there any way to fix this?
That is, the event that is used in the method below does not work on this field.
// Activate an inline edit on click of a table cell
$('#empTable').on( 'click', 'tbody td', function (e) {
editor.inline( this, {
buttons: { label: '>', fn: function () { this.submit(); } }
} );
} );
Answers
When using the "change" button, everything is correct.
I am trying to do the same, but in the table itself. The table row is simply highlighted.![](https://datatables.net/forums/uploads/editor/7x/o41b6xzamow6.png)
Again, the rest of the fields are working correctly.
Could you link to your page, please, as that would help debug this. If not, could you post the full code, both client and server,
Colin
Also, have a look at this example which shows inline editing with a dropdown.
Allan