Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81687

sLoadingRecords text doesn't work/shows sZeroRecords text instead

$
0
0
sLoadingRecords text doesn't work/shows sZeroRecords text instead.
Please help.
    oTable = $('#myDataTable').dataTable({
        "bProcessing": true,
        "sAjaxSource": "Home/GetCustomerByTerritory",
        "bJQueryUI": true,
        "sAjaxDataProp": "",
        "bAutoWidth": false,
        "bDestroy": true,
        "aaSorting": [[1, "asc"]],
        "sPaginationType": "full_numbers",
        "oLanguage": {
            "sLoadingRecords": "Please wait - loading...",
            "sZeroRecords": "No Records Found!",
            "sSearch": "Filter search result:",
            "sInfoEmpty": "No entries to show"
        },
        // Server Parameters
        "fnServerParams": function (aoData) {
               .
               . //snipped
               .
        },
        "aoColumns": [
               .
               . //snipped
               .
                ],
         "fnFooterCallback": function (nRow, aasData, iStart, iEnd, aiDisplay) {        
                $(".footer").hide();
         },
        "fnDrawCallback": function (oSettings) {
                           .
               . //snipped
               .
            });
        }
    });

Viewing all articles
Browse latest Browse all 81687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>