title: CSV to HTML DataTables filtering with buttons
body: <p>I'm using CSV to HTML table: <a href="https://github.com/derekeder/csv-to-html-table" rel="nofollow noreferrer">https://github.com/derekeder/csv-to-html-table</a>, and I'd like to add button-based filtering (as seen here on the DataTables page: <a href="https://datatables.net/reference/option/" rel="nofollow noreferrer">https://datatables.net/reference/option/</a>)</p>
  
  <p>I haven't manipulated the data much at this point, except to add scrollCollapse and pagingType, but I'm not entirely sure how to add the button instances for the CSV to HTML, as it seems to be done a little differently than the examples on DataTables. </p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
    function format_link(link){
      if (link)
        return "&lt;a href='" + link + "' target='_blank'&gt;" + link + "&lt;/a&gt;";
      else
        return "";
    }
  
    CsvToHtmlTable.init({
      csv_path: 'data/foodsec_data.csv',
      element: 'table-container', 
      allow_download: true,
      csv_options: {separator: ',', delimiter: '"'},
      datatables_options: {"scrollCollapse": true,},
      datatables_options: {"pagingType": "simple_numbers",},
      custom_formatting: [[1, format_link]]
    });
  </code></pre>