title: Row index not updated when using rows().every().remove()
body: <p>I was trying to remove jquery datatables selected rows using</p>
  
  <pre><code>table.rows('.selected').every(function(){
      this.remove()
  });
  </code></pre>
  
  <p>But I found that when one row is removed, the row index is not updated, so this will lead to chaos. So is there a convenient way to remove selected rows from a table, or should I update row index manually?</p>
  
  <p>I'd like to apply some other operations on each row besides remove, so I don't want to use </p>
  
  <pre><code>table.rows('.selected').remove();
  </code></pre>