How do I cancel modal opening in Delete?
How do I cancel modal opening in Delete?
gunseli
Posts: 14Questions: 8Answers: 0
When deleting the line, I do not want the modal to open as in the picture below. How do I delete a row directly when I click on it?
table.row(idx).delete({
buttons: [ ],
});
This discussion has been closed.
Answers
Hi @gunseli ,
This thread should help, it's asking the same thing.
Cheers,
Colin
Hi @colin, thank you your answer.
But I don't want to use editor.remove, I want use to row().delete(). Because I'm deleting on a different page
Hi @gunseli ,
row().remove()
will only remove the row from the local table - it won't update the remote source. I/m not clear what you're trying to do, could you give some more details, please.Also, are you able to link to your page or create a test case? Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Cheers,
Colin
Hi @colin,
Thank you, I did the following way.