-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hello,
I'm trying to use the directive you have created but I'm facing some issue with understanding how it works.
Here is my export button (based on your readme) :
<button class="table-export" table-selector="'toto'" export-options="{type: 'pdf', escape: true, tableName: 'toto' }"> Export </button>
And this is the table I am looking to export :
<table id="toto" class="table table-hover">
<thead>
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="data in details.chartData">
<td>{{details.datasource.name}}</td>
<td>{{data.x}}</td>
<td>{{data.y}}</td>
</tr>
</tbody>
</table>
I thought I should use the id of my table in my table-selector but it doesn't seems to work.
Do you have any idea why ?
Thank you very much
Valentin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels