-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Beginning of #851 - no controller methods yet, but still troubleshoot…
…ing stupid datatables errors. [Error] TypeError: undefined is not an object (evaluating 'f.nTf=a[b].cell') jb (jquery.dataTables.min.js, line 24) ga (jquery.dataTables.min.js, line 45) (anonymous function) (jquery.dataTables.min.js, line 92) each (jquery-latest.js, line 383) each (jquery-latest.js, line 136) o (jquery.dataTables.min.js, line 82) (anonymous function) (users, line 371) fire (jquery-latest.js, line 3119) fireWith (jquery-latest.js, line 3231) ready (jquery-latest.js, line 3443) completed (jquery-latest.js, line 3474)
- Loading branch information
Showing
5 changed files
with
143 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<table id="{{ $id }}" class="{{ $class }}"> | ||
<colgroup> | ||
@for ($i = 0; $i < count($columns); $i++) | ||
<col class="con{{ $i }}" /> | ||
@endfor | ||
</colgroup> | ||
<thead> | ||
<tr> | ||
@foreach($columns as $i => $c) | ||
<th align="center" valign="middle" class="head{{ $i }}">{{ $c }}</th> | ||
@endforeach | ||
</tr> | ||
</thead> | ||
<tfoot> | ||
<tr> | ||
<td colspan="12"> | ||
<select name="bulk_actions"> | ||
<option value="edit">Bulk Edit</option> | ||
<option value="delete">Bulk Delete</option> | ||
</select> | ||
<button class="btn btn-default" id="bulkEdit" disabled>Go</button></td> | ||
</tr> | ||
</tfoot> | ||
<tbody> | ||
@foreach($data as $d) | ||
<tr> | ||
@foreach($d as $dd) | ||
<td>{{ $dd }}</td> | ||
@endforeach | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
|
||
@if (!$noScript) | ||
@include(Config::get('datatable::table.script_view'), array('id' => $id, 'options' => $options, 'callbacks' => $callbacks)) | ||
@endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters