title: Disable select on specific column in ngx-datatable
body: <p>I have a ngx-datatable with 4 data columns and one column with a delete button for remove the row from the table as below.</p>
  
  <p><a href="https://i.stack.imgur.com/MbGDM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MbGDM.png" alt="enter image description here"></a></p>
  
  <p>HTML code</p>
  
  <pre><code>&lt;ngx-datatable
  *ngIf="!isLoading"
  #table
  class="data-table"
  [scrollbarH]="true"
  [rows]="data"
  [columnMode]="'force'"
  [headerHeight]="50"
  [footerHeight]="50"
  [rowHeight]="'auto'"
  [limit]="limit"
  [selected]="selected"
  [selectionType]="'single'"
  (select)='onSelect($event)'&gt;
  
      &lt;ngx-datatable-column *ngFor="let columnData of columns" name={{columnData.name}} prop={{columnData.prop}}&gt;
         &lt;ng-template let-column="column" let-sort="sortFn" ngx-datatable-header-template&gt;
            &lt;span class="datatable-header-column datatable-header-cell-label" (click)="sort()"&gt;&lt;i class="{{columnData.icon}}" &gt;&lt;/i&gt; {{columnData.name}}&lt;/span&gt;
         &lt;/ng-template&gt;
      &lt;/ngx-datatable-column&gt;
  
      &lt;ngx-datatable-column [sortable]="false" [maxWidth]="70"&gt;
          &lt;ng-template let-column="column"  let-row="row" ngx-datatable-cell-template&gt;
              &lt;button class="btn btn-danger btn-mini" *ngIf='!row.unAssigning' (click)="onDelete(row, column)"&gt;
                  &lt;i class="icofont icofont-trash"&gt;&lt;/i&gt;
              &lt;/button&gt;
              &lt;img class="mini-spinner" *ngIf="row.unAssigning" src="../assets/img/busy-red.gif"&gt;
          &lt;/ng-template&gt;
      &lt;/ngx-datatable-column&gt;     
  
  &lt;/ngx-datatable&gt;
  </code></pre>
  
  <p>TS file</p>
  
  <pre><code>onSelect({
      selected
  }) {
      this.router.navigate(['/update', selected[0].id]);
  }
  </code></pre>
  
  <p>Currently when select a row, redirecting user to another page. But I need to remove the redirecting feature when click on the delete button in the table. Redirect must perform only when click on a data columns.</p>
  
  <p>How can I achieve this?</p>