About Datatables how to use this server side pagination

About Datatables how to use this server side pagination

SandeepMSandeepM Posts: 28Questions: 0Answers: 0
edited May 2012 in General
I have used this
$(document).ready(function() {
$('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": ""/EF/reports/test/form/firstjsp.jsp""
} );
} );

for server side pagination but it's not going on first.jsp what should i do?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Looks like you have a syntax error - the URL is double quoted. Does Firebug or Inspector not show an error?

    Allan
  • SandeepMSandeepM Posts: 28Questions: 0Answers: 0
    $(document).ready(function() {
    alert("hi");
    $('#example').dataTable( {
    "bProcessing": true,
    "bServerSide": true,
    "sAjaxSource": "/EF/reports/test/form/firstjsp.jsp"

    then also its not working. is there any js missing or any problem plz tell me it's not fetching data from firstjsp.jsp
    } );
    } );
This discussion has been closed.