Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

datatables buttons do not appear localisation

var table = $('#example').DataTable({
   dom: 
      "<'row'<'col-sm-3'l><'col-sm-6 text-center'B><'col-sm-3'f>>" +
      "<'row'<'col-sm-12'tr>>" +
      "<'row'<'col-sm-5'i><'col-sm-7'p>>",
   language: {
      url: "https://cdn.datatables.net/plug-ins/1.10.9/i18n/English.json"          
   },
   buttons: [
      'copy', 'pdf', 'excel', 'csv'
   ]
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datatables #buttons #localisation
ADD COMMENT
Topic
Name
3+3 =