td changed

This commit is contained in:
Benjamin Takats
2022-12-02 16:58:55 +01:00
parent 23de31f2f3
commit 56f847ebbf
6 changed files with 62 additions and 2 deletions

View File

@@ -16,6 +16,18 @@ class CourseTable extends DataTableComponent
public function configure(): void
{
$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);
}