@extends('company.layouts.main') @section('content')

List Virtual Experience Survey and feedbacks

@if(Session::has('success'))
{{ Session::get('success') }}
@endif
ID VWEP Published Department Enrolled Completed Certification Issued Survey Summary action Last Update active
@endsection @section('script') $(function () { var table = $('#datatable').DataTable({ processing: true, serverSide: true, responsive: true, order: [[0, 'desc']], // Correct order format, [column index, direction] ajax: "{{ route('view.virtualExpList') }}", columnDefs: [ { targets: 0, // Index of the column you want to hide (first column) visible: false, // Hides the column searchable: false // If you want to exclude it from search as well }, { targets: 6, // Assuming 'action' is at index 6; adjust index if necessary createdCell: function (td, cellData, rowData, row, col) { $(td).addClass('nowrap-td'); // Adds your desired class to the 'action' column cells } } ], columns: [ { data: 'id' }, // { data: 'checkbox', name: 'VWEP_Published', orderable: false, searchable: false }, // Uncomment and adjust if needed { data: 'title' }, { data: 'department' }, { data: 'Enrolled', name: 'Enrolled', orderable: false, searchable: false }, { data: 'Completed', name: 'Completed', orderable: false, searchable: false }, { data: 'Certification-Issued', name: 'Certification-Issued', orderable: false, searchable: false }, { data: 'Survey-Summary', name: 'Survey-Summary', orderable: false, searchable: false }, { data: 'action', name: 'action', orderable: false, searchable: false }, { data: 'updated_at' }, { data: 'avtive', name: 'avtive', orderable: false, searchable: false }, { data: 'viewbtn', name: 'viewbtn', orderable: false, searchable: false }, ] }); // Fade out success message setTimeout(function() { $('#successMessage').fadeOut('fast'); }, 1000); }); @endsection