
$(document).ready(function() {	
	
    /************** this is for data table ****************** 

	 ** it activates the table to be allowe to use  ************

     *********************** activate datatables ----*/

     $('#example').DataTable({
	 
	 	
		
		 "pageLength": 100, //default page lenght
		
		
		
		"lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]], //for showing all the rows
		
		responsive: true, // for table responsiveness
		
		stateSave: true, // for saving a aprticular state in tables position
		
	 	dom: 'Bfrtip',
			  buttons: [
			  
			  	  
				  'print',
				  'copyHtml5',
				  'excelHtml5',
				  { extend: 'csvHtml5', title: 'Data Export'},
				  'pdfHtml5'
			  ],
			  
			 
	 
	 
	 });
	 
	 
})