some_other_guy
some_other_guy

Reputation: 3394

While loading DataTable if I click on any link it's show error! Solutions? (PHP/Infobright)

Using ajax to load a DataTable as follows:

$("#getXXData").dataTable({
  "bServerSide": true,
  "sPaginationType": "bootstrap",
  "sAjaxSource": dataRequestUrl,
  "bProcessing": true,
  "bDestroy":true,
  "iDisplayLength":100,
  "aaSorting": [[ 4, "desc" ]],
  "aoColumns": [
    { "sClass": "text-center","bSortable":false,"sWidth": "5%" },
    { "sClass": "text-left","sWidth": "40%" },       
    { "sClass": "text-left","bSortable":false,"sWidth": "30%" },
    { "sClass": "text-left","bSortable":false,"sWidth": "10%" },
    { "sClass": "text-right","sWidth": "15%" }   
  ],

  "fnInitComplete": function(oSettings, json) {
    $(".tooltip-right").tooltip({placement: "top", trigger: "hover"});
    if(json.iTotalRecords == null){
      $(".dataTables_paginate").hide();
      $("#selectAllXX").attr("checked",false);
    }
  },

  "fnDrawCallback": function() {
    $(".tooltip-right").tooltip({placement: "top", trigger: "hover"});
  },

  "oLanguage": {
    "sSearch": "<strong>Search: </strong>",
    "sZeroRecords": "No XX Found",
    "sProcessing":"&nbsp;&nbsp;&nbsp;&nbsp;<i class=\"fa fa-cog fa-spin\"></i> Processing..."
  },

});

When I click any link when it's loading I get an error as followsenter image description here

Any solutions?

Upvotes: 1

Views: 45

Answers (0)

Related Questions