Skip to content Skip to sidebar Skip to footer

Jquery Datatable Pagination Not Appearing

i am working with http://datatables.net/ within a grails application this is my initialization code: $(document).ready(function () { var oTable = $

Solution 1:

I found the solution - a mixup of two different jquery versions one included automatically by aui (atlassian user interface) and another manually by me. the wrong one was chosen in the end and led to missing pagination.

solution therefore:

<scripttype="text/javascript"charset="utf8"src="//code.jquery.com/jquery-1.10.2.min.js"></script>

Solution 2:

For javascript, i've use only sPaginationType to initialize the data table. I'm always use this code for data table. Let build the data table step by step. Use this code only, then check whether it's working or not.

Note: Please remove all other javascript files other than data table js and css files. I got a issue that data table is not working with jquery calender. Let try this and let me know.

    $('#table_name').dataTable({
      "sPaginationType": "full_numbers"
      })
    .columnFilter({sPlaceHolder: "head:before",
      aoColumns: [{type: "text" },{type: "text" },{type: "text" },{type: "text" },{type: "text" },{type: "text" }]
    });

datatable

Post a Comment for "Jquery Datatable Pagination Not Appearing"