Remove rows using editor
Remove rows using editor
Hi,
I have a problem using the editor.
I want to delete the selected rows and looking into your APIs I've seen this:
editor.message( "Are you sure you want to remove rows?" );
editor.remove( rows, 'Delete rows', {
"label": "Confirm",
"fn": function () { this.submit(); }
} );
Now I want to define rows as the selected rows.
Using rows=table.rows('.selected') works for only 1 row but it doesn't work for 2 or more rows.
How can I solve?
Thank for your time
This question has an accepted answers - jump to answer
Answers
Could you try simply:
Thanks,
Allan
It works. Thanks.