JDilleen / datatables-bulma

DataTables styling for the Bulma CSS framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

DataTables styling for the Bulma CSS framework

License:MIT License


Languages

Language:JavaScript 59.1%Language:CSS 40.9%