Footable-v2-DataName-Example

Showing a Footable v2 DataName wo rking

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
<script src="https://raw.githubusercontent.com/fooplugins/FooTable/V2/dist/footable.all.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://raw.githubusercontent.com/fooplugins/FooTable/V2/css/footable.metro.css">
<link rel="stylesheet" href="https://fooplugins.com/wp-content/plugins/fooboxV2/css/foobox.min.css">
<table class="table footable">
  <thead>
    <tr>
      <th data-toggle="true">
        First Name
      </th>
      <th>
        Last Name
      </th>
      <th>
        Job Title
      </th>
      <th data-title="Date Of Birth">
        DOB (Visible)
      </th>
      <th data-hide="all" data-title="Date Of Birth">
        DOB (hide)
      </th>
    </tr>
  </thead>
  <tbody>
</tbody>
</table>

JavaScript

$(function () {

  $(".footable").footable({
  	"rows": [["a", "b","b","b","b"]]
  });
});