Getting Started

The easiest way to get started with Frappe DataTable is using this JSFiddle Demo. Or you can copy the following template into a new index.html file.


<!-- include styles -->
<link href="" rel="stylesheet">

<!-- create the container element -->
<div id="datatable"></div>

<!-- include the dependencies -->
<script src=""></script>
<script src=""></script>
<!-- include the lib -->
<script src=""></script>

<!-- initialize DataTable -->
  const datatable = new DataTable('#datatable', {
    columns: ['Name', 'Position', 'Salary'],
    data: [
      ['Faris', 'Software Developer', '$1200'],
      ['Manas', 'Software Engineer', '$1400'],