-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExtra.txt
More file actions
39 lines (35 loc) · 1.24 KB
/
Extra.txt
File metadata and controls
39 lines (35 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{{-- Table Initialization --}}
<div class="col-md-12">
<table class="table" id="demotable">
<thead>
<tr>
<th>S.No</th>
<th>Attr 1</th>
<th>Attr 2</th>
<th>Attr 3</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
</table>
</div>
{{-- End --}}
<br><br><br><br><br><br><br><br><br><br><br><br>
// Rendering DataTable For Demo Table
$('#demotable').DataTable(
{
"processing": false,
"serverSide": false,
"ajax": "/demodata",
"columns":
[
{ "data": "rownum"},
{ "data": "column1" },
{ "data": "column2"},
{ "data": "column3" },
{ "data": "column4" },
{ "data": "action" }
]
});
// Route For DataTable of Demo Table
Route::get('/demodata','HomeController@demodata')->name('demodata');