Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

I have a datatables table setup Mainpage.php new DataTable('.dataTable',{ "pageLength" : 100, scrollCollapse: true, scrollY: '500px', "bPaginate": false, ...
bart2puck's user avatar
  • 2,518
0 votes
1 answer
42 views

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 ...
Jean François Manatane's user avatar
2 votes
0 answers
38 views

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: ...
Edel Rojas's user avatar
2 votes
1 answer
120 views

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-...
testkit's user avatar
  • 53
1 vote
1 answer
114 views

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 ...
draw134's user avatar
  • 1,219
0 votes
1 answer
91 views

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
1 answer
60 views

<table> <thead> <tr style="font-size: 16px;"> <th>approval_no</th> <th>pnr</th> <th>airline</th> ...
Heshanmax's user avatar
  • 107
0 votes
0 answers
32 views

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 ...
Vpa's user avatar
  • 737
0 votes
0 answers
734 views

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
284 views

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
0 votes
1 answer
140 views

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 ...
mercury's user avatar
  • 2,779
-2 votes
1 answer
771 views

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
1 answer
177 views

Here is my data table query funciton. /** * @param ProjectTimeLog $model * @return \Illuminate\Database\Eloquent\Builder */ public function query(ProjectDailyStandup $model) ...
ZemichaelMD's user avatar
1 vote
2 answers
1k views

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 ...
realtebo's user avatar
  • 25.8k
0 votes
2 answers
1k views

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 ...
Dino Cajic's user avatar
1 vote
0 answers
828 views

I have a custom reporting feature I'm trying to build. To keep it short, the user is presented with options to choose from, those options are used to build an Eloquent query that returns data from the ...
RgFirefly's user avatar
0 votes
0 answers
343 views

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
  • 109
1 vote
1 answer
930 views

I am using laravel framework and firebase-database , i made connection between those two it's working fine ,i want to use eloquent models for manipulating the data for that i am using this package ...
usersuser's user avatar
  • 167
0 votes
1 answer
2k views

Hello I have the following controller method to return data to my datatable in Laravel, Controller Method public function get(Request $request) { return Datatables::of(AppUser::all()) ->...
gfit21x's user avatar
  • 151
1 vote
1 answer
2k views

I'm trying to substitute column data through callback, that has to return a username, mapped to user unique identifier. The list of usernames is outside of of the model' data and that's where I'm ...
Daniel Protopopov's user avatar
0 votes
0 answers
38 views

I was wondering, if it possible to add directly a value in the table. Because I would like that all with the value "1" are registered Schema::table('games', function (Blueprint $table) { ...
blackplan's user avatar
  • 286
0 votes
2 answers
288 views

Pls help me🙏 I wnat to get number of the Users registered in this week and number of the Users registered in this month
SinaValipour's user avatar
0 votes
2 answers
2k views

i need format date in my datatable column, i´m reading documentation, but i don´t know how i can to do it. i have this code for create my datatable: var callTable = $('#calls').DataTable({ dom:...
scorpions78's user avatar
2 votes
3 answers
84 views

I have two tables, users and points. Currently users has 84,263 rows, while points has 1,636,119 rows. Each user can have 0 or multiple points and I need to extract which point was created last. show ...
Kristjan O.'s user avatar
3 votes
2 answers
6k views

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,219
-1 votes
2 answers
3k views

I want to hash password with md5 instead of bcrypt in laravel 8. In my login controller LoginController.php : protected function credentials(Request $request) { return ['user_name' ...
Jon Rodrigo's user avatar
-1 votes
1 answer
47 views

I created a page to implement the function of changing the data from the table, and after I did everything on the video tutorial I somehow do not work this page, here is the text of the error: ...
Mineral's user avatar
  • 51
1 vote
2 answers
91 views

I created a button in the table to implement the function of deleting data on the site, I did everything according to the video tutorial and after I did everything refreshing the page I got an error: ...
Mineral's user avatar
  • 51
0 votes
1 answer
792 views

I am able to see my datatables on my local server, so I pushed the files to git, pulled them to my local server, and published the assets using php artisan vendor:publish --tag=datatables. I have also ...
mcadio's user avatar
  • 769
0 votes
1 answer
44 views

I made a display of the plate on the page of the site and then the following error appeared (error screenshot below) error text: Undefined variable: users (View: /home/vagrant/code/bacon/resources/...
Mineral's user avatar
  • 51
-2 votes
2 answers
65 views

I created a page where you can add records to a database, and when I add a record I get an error: SQLSTATE[HY000]: General error: 1364 Field 'website' doesn't have a default value (SQL: insert into ...
Mineral's user avatar
  • 51
-1 votes
1 answer
61 views

I found the paginate() method in the Laravel documentation. However, it doesn't work when I implement it. I get an error that paginate does not exist. I know paginate is maybe only for all(), but I ...
Tom_hutka's user avatar
1 vote
1 answer
1k views

I tried using 2 words method relationship. How i can implement the relationship in datatable service using ->with? In the query method looks like this : public function query(Pihak $model) { ...
Ray Coder's user avatar
  • 1,111
0 votes
1 answer
1k views

I posted this question yesterday but I think it's unclear so I deleted it and posted it again with more details. In my oracle database I have a USERS table with id_user defined as varchar and this ...
Jon's user avatar
  • 107
-1 votes
1 answer
2k views

Need help with the design of the text on the site page,I display the data of the table and they do not look good (attached a screenshot) help my view file: @extends('layouts.layout') @section('title')...
Mineral's user avatar
  • 51
1 vote
0 answers
3k views

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
620 views

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
1 vote
1 answer
829 views

In laravel 6 app I use "yajra/laravel-datatables-oracle": "^9.4" and I need selecting 1 row and running ajax request on server to delete this row I try to refresh table with draw() ...
mstdmstd's user avatar
  • 3,331
0 votes
1 answer
250 views

How I can update table in DB, with use function findOrNew I want first check column in table. If I have same title not add, if I dont have - push I campare @title@ in table DB. public function update(...
Oleg St's user avatar
1 vote
2 answers
579 views

I want to add action button to my datatable here the code html table and datatables <table id="users-table" class="table table-bordered"> <thead> <tr> &...
Wazirul Azzan's user avatar
0 votes
1 answer
2k views

I have DataTables and implemented the colReorder by dragging the checkbox element using .sortable() jquery-ui and everything is fine. But when I enable responsive:true the column is not ordering any ...
Marky's user avatar
  • 55
-2 votes
1 answer
228 views

I am trying to insert data into the database neither it shows an error nor saves the data into my database below are the codes. here is the create blade php page . @extends('layouts.app') @section('...
inasar's user avatar
  • 51
0 votes
1 answer
88 views

I am new in Laravel How to do in laravel role with the following table $table->id(); $table->string('name'); $table->string('email'); $table->...
inasar's user avatar
  • 51
0 votes
2 answers
3k views

Wha is the best way to hide empty or null comumns from Yajra Datatables: var table = $('.data-table').DataTable({ processing: true, serverSide: true, ajax: "{{ route('any.route') ...
romaya's user avatar
  • 21
0 votes
2 answers
6k views

i try to use yajra datatables laravel i have problem in searching when i search data already exits in datatables it no working me already try example in documentation but it not working for me can ...
CaptanJunior's user avatar
0 votes
1 answer
2k views

i have a code like this to display an action button for datatables ->addColumn('action', function () { return '<form id="delete" action="{{ route(' . 'admin.posts.destroy' . ', $...
M Muqiit Faturrahman's user avatar
0 votes
0 answers
169 views

please help me my problem is this: I'm having relationships in laravel with eloquent. I tried to use Datatables but I don't know how to do "BelongTo Relations". Also, look for an idea in ...
Ema Reynoso's user avatar
0 votes
2 answers
3k views

I am writing a searchable table which includes the area and population. Here is the basic query: public function getCountryData() { $co = DB::table('countries')->leftJoin('country_detail','...
Jim's user avatar
  • 622
1 vote
1 answer
2k views

I'm using Laravel datatables on a website. Data is loaded through AJAX. On my frontend code I select which columns the table needs: var dataTable = $('#products-table').DataTable({ ...
gbalduzzi's user avatar
  • 10.4k
0 votes
1 answer
717 views

so i have followed many tutorials and videos and checked here and cant seem to get this to work, really need help. im going to provide my code and explain what im trying to so and hopefully someone ...
Anthony Moore's user avatar