@extends('super-admin.layouts.main') @section('content')

View Students

@if(Session::has('success'))
{{ Session::get('success') }}
@endif
ID First Name Last Name Email Action
@endsection @section('script') $(function () { var table = $('#datatable').DataTable({ processing: true, serverSide: true, responsive:true, order:['0','desc'], ajax: "{{ route('student.view') }}", "columnDefs": [ { "targets": [ 0 ], "visible": false, "searchable": true }, ], "columns": [ { data: 'id' }, { data: 'first_name' }, { data: 'last_name' }, { data: 'email' }, {data: 'action', name: 'action', orderable: false, searchable: false}, ] }); }); @endsection