Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82808

How to exclude last <tr> on CSV export?

$
0
0
I use datatable with column filters which place on table footer. Also I use TableTools for export filtered data to CSV. In the first and second column filters are <select>. The problem is following - than i do the export <option>'s from <select> exports as a long string for each select respectively in the last row of .csv file. How can I exclude this data?
Certainly I can find the place in TableTools.js where rows are selected and exclude last row, but it is a bad practice to edit the libraries. Are anybody knows what I have to do?

P.S. Excuse me for my english - I am not a native speaker.

Viewing all articles
Browse latest Browse all 82808


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>