For later
This commit is contained in:
parent
b03bc81762
commit
c72dbc790f
|
@ -23,10 +23,10 @@ class UserTable extends DataTableComponent
|
||||||
public function columns(): array
|
public function columns(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
Column::make("", "id")
|
// Column::make("", "id")
|
||||||
->format(function ($value, $row, Column $column) {
|
// ->format(function ($value, $row, Column $column) {
|
||||||
return view('components.table-components.select', ['user' => $row]);
|
// return view('components.table-components.select', ['user' => $row]);
|
||||||
}),
|
// }),
|
||||||
Column::make(__('messages.ID'), "id")
|
Column::make(__('messages.ID'), "id")
|
||||||
->sortable()
|
->sortable()
|
||||||
->searchable(),
|
->searchable(),
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
attachClickEventListeners('user-email', handleUserClick);
|
attachClickEventListeners('user-email', handleUserClick);
|
||||||
attachClickEventListeners('user-block', handleUserClick);
|
attachClickEventListeners('user-block', handleUserClick);
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript">
|
{{-- <script type="text/javascript">
|
||||||
// Get the delete button div
|
// Get the delete button div
|
||||||
var deleteButtonDiv = document.getElementById('select-active');
|
var deleteButtonDiv = document.getElementById('select-active');
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ var deleteSelectedUsers = function() {
|
||||||
|
|
||||||
// Add event listener to delete button
|
// Add event listener to delete button
|
||||||
deleteButton.addEventListener('click', deleteSelectedUsers);
|
deleteButton.addEventListener('click', deleteSelectedUsers);
|
||||||
</script>
|
</script> --}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue