DataTables en Français ?

DataTables en Français ?

evpf29bevpf29b Posts: 6Questions: 4Answers: 0
edited October 2021 in Free community support

Bonjour

Je n'arrive pas à configurer l'affichage en français.

//Code correct
$(document).ready(function() {
 $('#tab').DataTable( {
     
"language": {
    "url": "https://cdn.datatables.net/plug-ins/1.11.3/i18n/fr_fr.json",
  }
     
     buttons:[
        {
            extend: 'searchBuilder',
            
            config: {
                depthLimit: 2
                
            }
        }
    ],
        "paging": true, //Turn off paging, all records on one page
        "ordering": true, //Turn off ordering of records
        "info": true, //Turn off table information
        "select": true
 
 } );
} );
//Fin code correct

Merci d'avance

Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    It seems OK here with your code. Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.

    Cheers,

    Colin

Sign In or Register to comment.