rainabba / jquery-table2excel

jQuery Plugin to export HTML tabled to Excel Spreadsheet Compatible Files
593 stars 666 forks source link

Update jquery.table2excel.js #41

Closed SeanDevoy closed 8 years ago

SeanDevoy commented 8 years ago

Extended "exclude" capabilities down to the <td> level. Original functionality only allowed you to "exclude" an entire <tr>. It is a fairly simple change.

Now if any item in a <td> contains items with the exclude class on it, that <td> will be exported EMPTY.

This is very useful if you have buttons or other controls in your table and do not want to export them. I especially needed it for exporting .NET DataGrids with controls for Add/Change/Delete.