In 1.9- use fnDeleteRow with the redraw parameter set to false and then loop over each row to be deleted. Once the loop has ended, use fnDraw to redraw the table.
In 1.10 you will be able to use `rows().remove()` to delete multiple rows.
I don't know this snippet of deleting rows in C# can be insightful or not for you:
[code]
this.ketticGridView.RemoveRows(rowToDelete);
this.ketticGridView.RemoveRowsAt(0)
this.productsTableAdapter.Update(this.nwindDataSet.Products);
[/code]
Although not the JS, really hope it helps.
Replies
https://editor.datatables.net/release/DataTables/extras/Editor/examples/fieldDefaults.html
In 1.10 you will be able to use `rows().remove()` to delete multiple rows.
Allan
[code]
this.ketticGridView.RemoveRows(rowToDelete);
this.ketticGridView.RemoveRowsAt(0)
this.productsTableAdapter.Update(this.nwindDataSet.Products);
[/code]
Although not the JS, really hope it helps.
http://www.kettic.com/winforms_ui/csharp_guide/gridview_row_remove.shtml
Allan
Allan
fnDeleteRow(rownumber,null,false );
http://datatables.net/forums/discussion/comment/7585
Allan