Prevent edit on rowgroup
Prevent edit on rowgroup
info@i-it.se
Posts: 9Questions: 3Answers: 0
in Editor
I'm using Editor and Rowgroup.
This is my event:
$('#dataTablesEditor').on( 'click', 'tbody td:not(:first-child)', function (e) {
editor.inline( table.cell( this ).index(), {
onBlur: 'submit'
} );
} );
How can i disable edit when clicking on the rowGroup tr?
Now i got an error:
ught Error: Cannot edit more than one row inline at a time
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You need to have your selector not be able to pick the cell inside the grouping row. For example you might use:
i.e.
tbody
dtrg-group
Allan
@allan Thank you for your reply.
That worked great ;D