Datatable Language Select

You can customize the datetable language selection. Use the following datatable language selection for this. Data table to make Turkish example in different languages https://datatables.net/examples/basic_init/language.html

 

$(document).ready(function() {
            $('#example').DataTable({
                 "language": {
                    "url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/Turkish.json"
                }
            });
        } );

 

You can write in the code to make a temporary customization.

$(document).ready(function() {
    $('#example').DataTable( {
        "language": {
            "lengthMenu": "Display _MENU_ records per page",
            "zeroRecords": "Nothing found - sorry",
            "info": "Showing page _PAGE_ of _PAGES_",
            "infoEmpty": "No records available",
            "infoFiltered": "(filtered from _MAX_ total records)"
        }
    } );
} );

0 Yorum

Soru & Yorum


Web Tasarım

Renkli Kare

Web Tasarım Ajansı