How to enable/disable column order-able or searchable features in Service Implementation?
Thanks.
Just set searchable and/or orderable to false like:
->columns([
'id',
'action' => ['orderable' => false, 'searchable' => false]
])
great, working as expected. Thanks.
Could you have a look on my comment #341 Thanks.
no found call to a member function getquery() on null
@yajra and @mansouralex Could you please let me know, if this in the documentation, my need is simillar
lets say if my code is
->editColumn('created_at', function(Video $video){
return $video->createdAt();
})
or in js it is
{ data: 'created_at', name: 'created_at' },
and I want it to disable sorting on it, how I can do it?
{ data: 'created_at', name: 'created_at', orderable: false },
is the solution.
Most helpful comment
Just set searchable and/or orderable to false like: