Enable Disable settings jQuery DataTables

Enable Disable settings jQuery DataTables

how to remove pagination in datatable

Simple we should include this key words in config file “bPaginate”: false, (default true)into the configuration object in jquery datatable you pass to your constructor parameters.

jQuery(document).ready(function() {
   jQuery('#example').DataTable({
	   "bPaginate": false
  });
 });
 
 or 
 
 "paging": false
 

Demo

jquery DataTable change all the settings Show and hide

jQuery(document).ready(function() {
   jQuery('#example').DataTable({
	   "ordering": false,
	   "info":     false,
	   "bFilter": false,
	   "bInfo": false,
	   "bAutoWidth": false,
	   "bLengthChange": false
  });
 });

how to disable show entries property in jquery datatable

jQuery(document).ready(function() {
   jQuery('#example').DataTable({
	   "bLengthChange": false
  });
 });

how to change language for DataTable using jquery

//spenice language
$('#yourtableid').DataTable({
    "language": {
        "sProcessing":    "Procesando...(No data available in table)",
        "sLengthMenu":    "Mostrar _MENU_ registros(Showing _START_ to _END_ of _TOTAL_ entries)",
        "sZeroRecords":   "No se encontraron resultados(Showing 0 to 0 of 0 entries)",
        "sEmptyTable":    "Ningún dato disponible en esta tabla((filtered from _MAX_ total entries))",
        "sInfo":          "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros",
        "sInfoEmpty":     "Mostrando registros del 0 al 0 de un total de 0 registros",
        "sInfoFiltered":  "(filtrado de un total de _MAX_ registros)",
        "sInfoPostFix":   "",
        "sSearch":        "Buscar:",
        "sUrl":           "",
        "sInfoThousands":  ",",
        "sLoadingRecords": "(No matching records found)Cargando...",
        "oPaginate": {
            "sFirst":    "(First)Primero",
            "sLast":    "(Last)Último",
            "sNext":    "(Next)Siguiente",
            "sPrevious": "(Previous)Anterior"
        },
        "oAria": {
            "sSortAscending":  ": (ascending)Activar para ordenar la columna de manera ascendente",
            "sSortDescending": ": (descending)Activar para ordenar la columna de manera descendente"
        }
    }
});

English Language

{
	"sEmptyTable":     "No any data available in table",
	"sInfo":           "Showing simple _START_ to _END_  simple of _TOTAL_ entries",
	"sInfoEmpty":      "Showing start 0 to number 0 of 0 entries",
	"sInfoFiltered":   "(filtered from _MAX_ total entries)",
	"sInfoPostFix":    "",
	"sInfoThousands":  ",",
	"sLengthMenu":     "any here Show _MENU_  example entries",
	"sLoadingRecords": "message lots  of data so Loading...",
	"sProcessing":     "simple Processing...",
	"sSearch":         "(change name search box)Search:",
	"sZeroRecords":    "here No simple matching records found",
	"oPaginate": {
		"sFirst":    "First",
		"sLast":     "Last",
		"sNext":     "Next",
		"sPrevious": "Previous"
	},
	"oAria": {
		"sSortAscending":  ": activate to sort column ascending",
		"sSortDescending": ": activate to sort column descending"
	}
}