title: Datatables feature not showing just data in table is shwoing in apostrophecms
body: <p>I want to add Datatable in apostropheCMS but its feature is not showing. I have write code of datatable in index.html and added cdn of datatables and function in header file. but it does not work. Only data is display but not table.<br>
    
          </p>
  
  <p>app/lib/module/.../views/index.html</p>
  
  <p>/app/view/header.html</p>
  
  <p>index.html</p>
  
  <pre><code>{% block main %}
      &lt;main&gt;
         &lt;table id="example" class="display cell-border" style="width:100%"&gt;
              &lt;thead&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Column 1&lt;/th&gt;
                      &lt;th&gt;Column 2&lt;/th&gt;
                      &lt;th&gt;Column 3&lt;/th&gt;
                      &lt;th&gt;Column 4&lt;/th&gt;
                      &lt;th&gt;Column 5&lt;/th&gt;
                  &lt;/tr&gt;
              &lt;/thead&gt;
              &lt;tbody&gt;
                  &lt;tr&gt;
                    &lt;td&gt;Tiger Nixon&lt;/td&gt;
                    &lt;td&gt;System Architect&lt;/td&gt;
                    &lt;td&gt;Edinburgh&lt;/td&gt;
                    &lt;td&gt;61&lt;/td&gt;
                    &lt;td&gt;2011/04/25&lt;/td&gt;
                    &lt;td&gt;$320,800&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
            &lt;/table&gt;
      &lt;/main&gt;
  {% endblock %}
  </code></pre>
  
  <p>header.html</p>
  
  <pre><code>&lt;header&gt;
  &lt;script&gt;
            $(document).ready(function() { alert();
                  var table = $('#example').DataTable( {
                    "pagingType": "full_numbers"
                 } );
                $('#example tbody').on( 'click', 'tr', function () {
                    if ( $(this).hasClass('selected') ) {
                        $(this).removeClass('selected');
                    }
                    else {
                        table.$('tr.selected').removeClass('selected');
                        $(this).addClass('selected');
                    }
                } );
  
  
            } );
         &lt;/script&gt;
  &lt;/header&gt;
  </code></pre>