73 questions
0
votes
0
answers
21
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-...
0
votes
1
answer
34
views
Middleware to have one user using its own database
I'm starting a SaaS and to avoid having a too big database, and to help for debugging, I would like each user to use its own database, without duplicating the laravel app.
I have been suggesting using ...
2
votes
0
answers
32
views
Including Current Date in Header of Exported DataTable in Laravel DataTables
I am using Laravel with the Laravel DataTables package. I have added the export button to the DataTable, but I need to include the current date at the top of the page
var dtconfig = {
dom:
...
2
votes
1
answer
85
views
Server does not return JSON
In development, the server returns JSON. But in production it does not return JSON. I found that in production, browser does not send X-Requested-With header.
In development - Note the X-Requested-...
1
vote
1
answer
93
views
Laravel datatables pass two instance in one view
I am attempting to send two instances of DataTables to my view. The scenario involves having a tab menu with each tab containing a corresponding table. Here is the approach I have taken.
My controller
...
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 ...
0
votes
1
answer
53
views
Export data into excel laravel
<table>
<thead>
<tr style="font-size: 16px;">
<th>approval_no</th>
<th>pnr</th>
<th>airline</th>
...
0
votes
0
answers
19
views
table.ajax.json().input not showing in server
I am using Yajra Datatable (https://yajrabox.com/docs/laravel-datatables/10.0)
In my local If I use console.log(table.ajax.json()) I can get table.ajax.json().input and base on this data I perform ...
0
votes
0
answers
648
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 ...
1
vote
0
answers
275
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 ...
0
votes
1
answer
123
views
Mimic the ( Show All ) link in datatables.net
I have a situation where I want to get the full (data) from the backend as a CSV file. I have already prepared the backend for that, but normally the front-end state => (filters) is not in contact ...
-2
votes
1
answer
641
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(...
0
votes
1
answer
159
views
Laravel Data table : Getting SQLSTATE[42S22]: Column not found: 1054 Unknown column error
Here is my data table query funciton.
/**
* @param ProjectTimeLog $model
* @return \Illuminate\Database\Eloquent\Builder
*/
public function query(ProjectDailyStandup $model)
...
1
vote
2
answers
684
views
Unable to understand why I cannot install laravel-datatables
I'm mantaining an old project, started with laravel 5.4, and now lifted up to laravel 8.
It's all working.
Now I'm in need to install laravel-datatables.
Looking at doc, I discarded v10 because it ...
0
votes
2
answers
1k
views
Ajax Reload on Vue.js DataTables
ajax.reload() and/or ajax.url().load() is just not working for Vue3 DataTable integration. It works if you include the CDN and follow the jQuery approach to it.
If you follow the instructions on the ...