Commit 421b649c authored by Nicolas Widart's avatar Nicolas Widart

Adding datatables to index view

parent 77444972
......@@ -74,3 +74,23 @@
</div>
</div>
@stop
@section('scripts')
<script type="text/javascript">
$(function () {
$('.data-table').dataTable({
"bPaginate": true,
"bLengthChange": true,
"bFilter": true,
"bSort": true,
"bInfo": true,
"bAutoWidth": true,
"aoColumns": [
null,
null,
{ "bSortable": false }
]
});
});
</script>
@stop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment