Delete without confirmation
Delete without confirmation

Is it possible to have a remove button (extend: "removeSingle") without the delete confirmation dialog?
Here it says it has all the remove functions, but i cannot make it work the "show" property https://editor.datatables.net/reference/button/remove
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @Tinchio ,
You can use the button
selectedSingle
for that - something like this: http://live.datatables.net/tazolojo/1/editCheers,
Colin
Thanks, it's working. Only i have to call remove twice to make it work, i don't know why
action: function () {
editor.remove($tabla.row({ selected: true }).index(), false).submit();
editor.remove($tabla.row({ selected: true }).index(),false).submit();
}
But it's working
Hi @Tinchio ,
That is odd, that wasn't needed in my example. If that's still needed, we're happy to look if you can modify my test case to demonstrate the problem, or if you could link to your page.
Cheers,
Colin