Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New: Semantic UI integration
- Loading branch information
Allan Jardine
committed
May 19, 2016
1 parent
7e66fbc
commit 2118260
Showing
6 changed files
with
67 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
@import 'scroller.dataTables.scss'; | ||
|
||
div.DTS { | ||
// Don't have transparent rows | ||
tbody tr.even { | ||
background-color: white; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
@import 'scroller.dataTables.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<dt-example table-type="scroller" table-class="display nowrap" order="2" framework="bootstrap4"> | ||
|
||
<css lib="datatables scroller" /> | ||
<js lib="jquery datatables scroller"> | ||
<![CDATA[ | ||
$(document).ready(function() { | ||
$('#example').DataTable( { | ||
ajax: "../data/2500.txt", | ||
deferRender: true, | ||
scrollY: 200, | ||
scrollCollapse: true, | ||
scroller: true | ||
} ); | ||
} ); | ||
]]> | ||
</js> | ||
|
||
<title lib="Scroller">Bootstrap 4</title> | ||
|
||
<info><![CDATA[ | ||
This example shows DataTables and the Scroller extension being used with [Bootstrap 4](http://getbootstrap.com) providing the styling. The DataTables / Bootstrap integration provides seamless integration for DataTables to be used in a Bootstrap 4 page. | ||
]]></info> | ||
|
||
</dt-example> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<dt-example table-type="scroller" table-class="display nowrap" order="4" framework="semanticui"> | ||
|
||
<css lib="datatables scroller" /> | ||
<js lib="jquery datatables scroller"> | ||
<![CDATA[ | ||
$(document).ready(function() { | ||
$('#example').DataTable( { | ||
ajax: "../data/2500.txt", | ||
deferRender: true, | ||
scrollY: 200, | ||
scrollCollapse: true, | ||
scroller: true | ||
} ); | ||
} ); | ||
]]> | ||
</js> | ||
|
||
<title lib="Scroller">Semantic UI</title> | ||
|
||
<info><![CDATA[ | ||
This example shows DataTables and the Scroller extension being used with [Semantic UI](http://semantic-ui.com/) providing the styling. The DataTables / Semantic UI integration provides seamless integration for DataTables to be used in a Semantic UI page. | ||
]]></info> | ||
|
||
</dt-example> |