SharePoint 2013 Datatable View
Add the following code in Script Editor
<script src="https://code.jquery.com/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="https://cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.9/css/jquery.dataTables.min.css" type="text/css" />
<script type="text/javascript">
$(document).ready(function () {
alert('test');
$('.ms-listviewtable').dataTable({
});
});
</script>
Add the following code in Script Editor
<script src="https://code.jquery.com/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="https://cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.9/css/jquery.dataTables.min.css" type="text/css" />
<script type="text/javascript">
$(document).ready(function () {
alert('test');
$('.ms-listviewtable').dataTable({
});
});
</script>
Comments
Post a Comment