Kannan K
Kannan K

Reputation: 4461

data table with bootstrap modal(modal not working)

I am using bootstrap data table with modal for displaying dynamic data from the database in blade template Laravel. Data are displaying properly. But the plus symbol which is missing in each row first column which is used to pop up a modal window containing row details. There is no javascript error,or css missing. I cant able to post blade coding, so i am not able to post my code.

Upvotes: 0

Views: 1156

Answers (2)

i don't know what you want.. but if you're using ajax and wanna load blade for fill in modal content, use this in your controller

echo view('path.to.blade', $yourData)->render();

if you wanna table responsive in your modal, add this in your js

var myTable = $("#myTable").DataTable({});
    myTable.responsive.recalc();

Upvotes: 0

i don't understand what ya want ))

In blade i'm using

<a href="{{ route('jobs.edit', $job->id) }}" class="flaticon-edit" data-toggle="modal" data-target="#easyModal"></a>

And after click all data loading in modal, because bootstrap working with ajax

Upvotes: 1

Related Questions