Integrate Datatable with Angular 6 Application — Part 3— Multiple Table
This is the continuation of part 2 . You must have read part 1 to implement this. Previous Parts Part 1 — Zero Configuration Part 2 — Future enable / disable (settings) Often you might wish to initialize multiple tables with a single component. follow this article, that will helps you. Template Content Your app.component.html file like this. <h1>Table 1</h1> <table class="display" style="width:100%"> <thead> <tr> <th>Name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th>Salary</th> </tr> </thead> <tbody> <tr> <td>Tiger Nixon</td> <td>System Architect</td> <td>Edinburgh</td> <td>61</td> <td>2011/04/25</td> <...