IT3A-2016 / TechKnights

1 stars 0 forks source link

Search CODES (Jquery) for copying data in datatables #54

Closed mariane21 closed 7 years ago

mariane21 commented 7 years ago

You can explore some codes or ask codes from other groups. Di mo gagayahin bes, ask mo lang kung pano nagyayari pero search ka rin para may karagdagan yung researches ko. Thanks

jhanning29 commented 7 years ago

hi! ill post some codes here ha :) hope these will help :)

jhanning29 commented 7 years ago

$(document).ready(function() { $('#example').DataTable( { dom: 'Bfrtip', buttons: [ 'copyHtml5' ], language: { buttons: { copyTitle: 'Ajouté au presse-papiers', copyKeys: 'Appuyez sur ctrl ou \u2318 + C pour copier les données du tableau à votre presse-papiers.

Pour annuler, cliquez sur ce message ou appuyez sur Echap.', copySuccess: { _: '%d lignes copiées', 1: '1 ligne copiée' } } } } ); } );

jhanning29 commented 7 years ago

https://www.codeproject.com/Tips/844403/jQuery-Datatables-For-Beginners