ion() {
	$('#example').DataTable( {
		dom: 'Bfrtip',
		buttons: [
			{
				extend: 'print',
				text: 'Print all'
			},
			{
				extend: 'print',
				text: 'Print selected',
				exportOptions: {
					modifier: {
						selected: true
					}
				}
			}
		],
		select: true
	} );
} );



	</script>
</head>

<body class="dt-example">
	<div class="container">
		<section>
			<h1>Buttons example <span>Export options - row selector</span></h1>

			<div class="info">
				<p>The <a href="//datatables.net/reference/but