Skip to main content

All Questions

0 votes
0 answers
22 views

confusing with upgrading yajra/datatable from old version 6 to version upto 9

For whoes are using yajra/laravel-datatables package! I was using Laravel 5 and now upgrading to the version 11. Everything goes pretty well but while upgrading it, I was also checking yajra/laravel-...
Jiwon's user avatar
  • 449
0 votes
1 answer
80 views

Yajara DataTable Filtration

Hey There Developers , I Am using Yajara Data Table Package for handling My Data .Now I am trying to add a filter that should give me the data based on the date Selected (I don't want the date Range ...
S.K Saxena's user avatar
0 votes
0 answers
665 views

Yajra datatable Search is not working when "serverSide: true"

When "serverSide: true" then the search option works not perfectly. My table has 5000+ records, I'm using "serverSide: true" for fast data load, but the search not working. Again ...
Hanif Mia Fabel's user avatar
1 vote
0 answers
276 views

Incomplete json response in a large eloquent-collection's ajax request

I'm having an error in my Laravel 8 app which uses yajra/laravel-datatables-oracle with server-side rendering, and I can't figure it out so far. What makes it frustating is the fact that this have ...
rifqy abdl's user avatar
-2 votes
1 answer
643 views

How can i define a delete method inside the delete button, It is returning the id of what i am trying to delete which means it is using get

So here are the index and destroy function but the delete button is not working properly and just giving me a blank page with the ID Controller //this is the index public function index() { if(...
Nameless 10's user avatar
0 votes
0 answers
310 views

Yarja Datatable Laravel - Null Date Value

I am having issue with handling a null values within a datatable. In short I have a table with outstanding fees, which has a default null value in the table and is updated the Date paid when the ...
Brendan's user avatar
  • 107
3 votes
2 answers
6k views

Laravel Datatables: How to sort column with the second data

How do I sort according to the second data? The sorting works only on the ID. But in my table, I added a badge count and that's what I want to sort by. Here is my controller return DataTables::of($...
draw134's user avatar
  • 1,177
1 vote
0 answers
3k views

yajra datatables keep index column on search

I have a data collection and I have added a column with index: BACKEND: Route::get('user-data', function() { $model = App\User::query(); return DataTables::eloquent($model) -&...
Escudo Bravo's user avatar
0 votes
1 answer
609 views

Error 419 Page Expired. Laravel Yajra datatables

I'm trying to add a form button to delete a record, but for some reason the csrf token doesn't insert it. I've tried many ways but I can't get it to work. Any suggestions? <div class="row"...
Alberto's user avatar
  • 173
2 votes
2 answers
3k views

Table does not render (Yajra Datatables)

So, this is my controller: use Yajra\DataTables\Facades\DataTables; class CategoriasController extends Controller { public function index() { return Datatables::collection(Categoria::...
myg0t's user avatar
  • 31
2 votes
2 answers
1k views

Searching an accessor of eager-loaded relation from datatables

I've got the following models: <?php class User extends Model { public function department() { return $this->hasOne(Department::class); } } class Department extends Model { ...
miken32's user avatar
  • 42.7k
0 votes
1 answer
186 views

Pass filtered data to Datatables v8 on Laravel v5.6

I have an integration with laravel datatables with elasticsearch. For the previous versions, this code was solving the issue. return value(new CollectionEngine(collect($data), new DatatablesRequest())...
Cesar Sosa's user avatar