title: NGX-Datatables. How to get current table instance?
body: <p>I have component with table, that receive RowData from another component by @Input. How can i get instance of current table.</p>
  
  <p>That's part of my html </p>
  
  <pre><code>&lt;ngx-datatable
          class="material"
          [rows]="inputData"
          [columns]="columns"&gt;
  &lt;/ngx-datatable&gt;
  </code></pre>
  
  <p>And component ts</p>
  
  <pre><code>export class GridComponent implements OnChanges {
   @Input() inputData: [object];
  
   columns1 = [
    { prop: 'name' },
    { name: 'Gender' },
    { name: 'Company' }
   ];
  }
  </code></pre>