Summary of problem or feature request
Hi. i can not set width for column Age. I tried to change in head
<table class=" table-bordered table-hover" id="employeesTable">
<thead>
<th></th>
<th>{{trans('messages.first_name')}}</th>
<th>{{trans('messages.last_name')}}</th>
<th width="10%">{{trans('messages.age')}}</th>
But still does not apply width.
Code snippet of problem
$(document).ready(function(){
var table = $('#employeesTable').DataTable({
processing: true,
serverSide: true,
ajax: '{{ route("pim.employees.datatable")}}',
bAutoWidth:false,
columns: [
{data: 'first_name'},
{data: 'last_name'},
{data: 'birthdate',sWidth:'5%'},
{data: 'actions', sortable: false, searchable: false},
],
System details
- Operating System Ubuntu
- PHP Version 7
- Laravel Version 5.8
- Laravel-Datatables Version 9.0
Summary of problem or feature request
Hi. i can not set width for column Age. I tried to change in head
But still does not apply width.
Code snippet of problem
$(document).ready(function(){
System details