TypeError: $(...).DataTable(...).fnFakeRowspan is not a function
TypeError: $(...).DataTable(...).fnFakeRowspan is not a function
pejot
Posts: 3Questions: 2Answers: 0
Im geting error fnFakeRowspan is not a function
Pls help
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/plug-ins/1.10.15/api/fnFakeRowspan.js"></script>
$(document).ready(function() {
$('#example').DataTable( {
"processing": true,
"serverSide": true,
"ajax": "server.php",
} ).fnFakeRowspan(3);
} );
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
fnFakeRowSpan
is a legacy plug-in so you would need to use$().dataTable()
rather than$().DataTable()
.Allan
Thank you