title: Remove selected item with checkbox
body: <p>I'm looking for a multiple delete for selected item thanks to a checkbox. I use this link <a href="https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-chkbox-template.component.ts" rel="nofollow noreferrer">https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-chkbox-template.component.ts</a> to create my list. Then I created a delete button at the top of my page with this html : </p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;button (click)="onRemoveRow(selected)"&gt;Remove First Row&lt;/button&gt;
  &lt;ngx-datatable
  #table
  class='material'
  [columns]="columns"
  [columnMode]="'force'"
  [rowHeight]="'auto'"
  [rows]='temp'
  [headerHeight]="50"
  [footerHeight]="50"
  [limit]="5"
  [rowClass]="getRowClass"
  [selected]="selected"
  [selectionType]="'checkbox'"
  (select)='onSelect($event)'&gt;
    &lt;ngx-datatable-column [width]="30" [sortable]="false" [canAutoResize]="false" [draggable]="false" [resizeable]="false"&gt;
    &lt;/ngx-datatable-column&gt;
    &lt;ngx-datatable-column name="Site" &gt;
      &lt;ng-template let-value="value" let-sort="sortFn" ngx-datatable-header-template&gt;
       Site 
      &lt;/ng-template&gt;
      &lt;ng-template let-value="value" ngx-datatable-cell-template&gt;
        {{ value }}
      &lt;/ng-template&gt;
    &lt;/ngx-datatable-column&gt;
    &lt;ngx-datatable-column name="Filiere" &gt;
      &lt;ng-template let-value="value" let-sort="sortFn" ngx-datatable-header-template&gt;
       Filiere
      &lt;/ng-template&gt;
      &lt;ng-template let-value="value" ngx-datatable-cell-template&gt;
        {{ value }}
      &lt;/ng-template&gt;
    &lt;/ngx-datatable-column&gt;
    &lt;ngx-datatable-column name="Type" &gt;
      &lt;ng-template let-value="value" let-sort="sortFn" ngx-datatable-header-template&gt;
       Type
      &lt;/ng-template&gt;
      &lt;ng-template let-value="value" ngx-datatable-cell-template&gt;
        {{ value }}
      &lt;/ng-template&gt;
    &lt;/ngx-datatable-column&gt;
    &lt;ngx-datatable-column name="TypeSource" &gt;
      &lt;ng-template let-value="value" let-sort="sortFn" ngx-datatable-header-template&gt;
       TypeSource
      &lt;/ng-template&gt;
      &lt;ng-template let-value="value" ngx-datatable-cell-template&gt;
        {{ value }}
      &lt;/ng-template&gt;
    &lt;/ngx-datatable-column&gt;
    &lt;/ngx-datatable&gt;
  </code></pre>
  
  <p>However, I don't succeed to use the function <code>onRemoveRow(selected)</code> to deleted the selected rows. I tried to use a restriction between all rows and the selected rows but I really don't found a solution. 
  I'm just searching an advice or a better way to do it, if someone has an idea.</p>