%PDF- %PDF-
Direktori : /home/jalalj2hb/public_html/ftm-admin/bower_components/datatables-buttons/examples/print/ |
Current File : /home/jalalj2hb/public_html/ftm-admin/bower_components/datatables-buttons/examples/print/select.xml |
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="html" order="4"> <css lib="datatables buttons"/> <js lib="jquery datatables buttons buttons-print select"> <![CDATA[ $(document).ready(function() { $('#example').DataTable( { dom: 'Bfrtip', buttons: [ { extend: 'print', text: 'Print all' }, { extend: 'print', text: 'Print selected', exportOptions: { modifier: { selected: true } } } ], select: true } ); } ); ]]> </js> <title lib="Buttons">Export options - row selector</title> <info>< for DataTables is used to give the end user the ability to select rows by clicking on them. Two print buttons are utilised in this example to demonstrate the `exportOptions` option: * The first button will print all rows (after filtering) * The second button will print only the selected rows. ]]></info> </dt-example>