footer changed

This commit is contained in:
Benjamin Takats
2022-12-12 17:58:20 +01:00
parent 648bc6395a
commit 568fbfb4b4
4 changed files with 38 additions and 17 deletions

View File

@@ -14,7 +14,21 @@ class MeetupEventTable extends DataTableComponent
public function configure(): void
{
$this->setPrimaryKey('id');
$this->setPrimaryKey('id')
->setThAttributes(function (Column $column) {
return [
'class' => 'px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider dark:bg-gray-800 dark:text-gray-400',
'default' => false,
];
})
->setTdAttributes(function (Column $column, $row, $columnIndex, $rowIndex) {
return [
'class' => 'px-6 py-4 text-sm font-medium dark:text-white',
'default' => false,
];
})
->setColumnSelectStatus(false)
->setPerPage(50);
}
public function columns(): array