0

I got this Bootstrap table :

  <table class="table table-striped" id="mainTable">
        <thead>
        <tr>
          <th scope="col">Dossier n°</th>
          <th scope="col">Nom du dossier</th>
        </tr>
        </thead>
        <tbody>
        <tr *ngFor="let dossier of dossiers">
          <td>{{dossier.id}}</td>               
          <td>{{dossier.student.major}}</td>
        </tr>
        <tr>
        </tbody>
      </table>

and I would like to download everything in the table as JSON (to get it in CSV after). Do you know anything that could help me ? Thanks you

clst
  • 111
  • 1
  • 11

0 Answers0