table ids

This commit is contained in:
Benjamin Takats
2023-01-19 11:50:48 +01:00
parent 24b8b8d963
commit 636efb95f5
7 changed files with 7 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ class CourseTable extends DataTableComponent
public function configure(): void
{
$this->setPrimaryKey('id')
->setAdditionalSelects(['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',