src/Http/Datatables/Administrators.php
public function html()
    {
        if (!app('antares.acl')->make('antares/acl')->can('roles-list')) {
            $this->filters = [];
        }
        return $this
                        ->setName('Administrators List')
                        ->addColumn(['data' => 'id', 'name' => 'id', 'title' => trans('antares/foundation::label.users.id')])
                        ->addColumn(['data' => 'firstname', 'name' => 'firstname', 'title' => trans('antares/foundation::label.users.firstname'), 'className' => 'bolded'])
                        ->addColumn(['data' => 'lastname', 'name' => 'lastname', 'title' => trans('antares/foundation::label.users.lastname'), 'className' => 'bolded'])
                        ->addColumn(['data' => 'email', 'name' => 'email', 'title' => trans('antares/foundation::label.users.email'), 'className' => 'bolded'])
                        ->addColumn(['data' => 'role', 'name' => 'role', 'title' => trans('antares/foundation::label.users.role')])
                        ->addColumn(['data' => 'created_at', 'name' => 'created_at', 'title' => trans('antares/foundation::label.users.created_at')])
                        ->addColumn(['data' => 'status', 'name' => 'status', 'title' => trans('antares/foundation::label.users.status')])
                        ->addAction(['name' => 'edit', 'title' => '', 'class' => 'mass-actions dt-actions', 'orderable' => false, 'searchable' => false])
                        ->setDeferedData()
                        ->addGroupSelect($this->statuses(), 6, 'all');
    }
public function html()
    {
        if (!app('antares.acl')->make('antares/acl')->can('roles-list')) {
            $this->filters = [];
        }
        return $this
                        ->setName('Administrators List')
                        ->addColumn(['data' => 'id', 'name' => 'id', 'title' => trans('antares/foundation::label.users.id')])
                        ->addColumn(['data' => 'firstname', 'name' => 'firstname', 'title' => trans('antares/foundation::label.users.firstname'), 'className' => 'bolded'])
                        ->addColumn(['data' => 'lastname', 'name' => 'lastname', 'title' => trans('antares/foundation::label.users.lastname'), 'className' => 'bolded'])
                        ->addColumn(['data' => 'email', 'name' => 'email', 'title' => trans('antares/foundation::label.users.email'), 'className' => 'bolded'])
                        ->addColumn(['data' => 'role', 'name' => 'role', 'title' => trans('antares/foundation::label.users.role')])
                        ->addColumn(['data' => 'created_at', 'name' => 'created_at', 'title' => trans('antares/foundation::label.users.created_at')])
                        ->addColumn(['data' => 'status', 'name' => 'status', 'title' => trans('antares/foundation::label.users.status')])
                        ->addAction(['name' => 'edit', 'title' => '', 'class' => 'mass-actions dt-actions', 'orderable' => false, 'searchable' => false])
                        ->setDeferedData()
                        ->addGroupSelect($this->statuses(), 6, 'all');
    }
{@inheritdoc}