Skip to content

JDilleen/datatables-bulma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datatables-bulma

DataTables styling for the Bulma CSS framework

Quick Start

Include the Bulma CSS, followed by the /css/dataTables.bulma.min.css file

<link rel="stylesheet" href="/css/bulma.min.css">
<link rel="stylesheet" href="/css/dataTables.bulma.min.css" />

Include jQuery, DataTables and the /js/dataTables.bulma.min.js file

<script src="/js/jquery-3.1.1.min.js"></script>
<script src="/js/jquery.dataTables.min.js"></script>
<script src="/js/dataTables.bulma.min.js"></script>

Initialise DataTables as normal

<script type="text/javascript">
    $(selector).DataTable();
</script>

End Result

Styled DataTable

Extra

Include the Font Awesome icon set for the sorting arrows as shown in the above screenshot.

NPM

Install via npm:

npm install datatables-bulma