Created
January 28, 2016 17:10
-
-
Save bunlongheng/515493d00bb3006af26a to your computer and use it in GitHub Desktop.
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
<table class="table table-bordered mb30" id="example" class="display" cellspacing="0" width="100%"> | |
<thead> | |
<tr> | |
<th>ID</th> | |
<th>Name</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>1</td> | |
<td>Bunlong</td> | |
</tr> | |
</tbody> | |
</table> | |
@section('pagescripts') | |
<script type="text/javascript"> | |
$('#example').dataTable({ | |
"bLengthChange": false, | |
"bInfo" : false, | |
"bFilter": false, | |
"bPaginate": false, | |
"dom": '<"pull-left"f><"pull-right"l>tip' | |
}); | |
</script> | |
@stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment