databaseColumnName == null) $this->databaseColumnName = Str::snake($this->columnTitle); } public function renderCell(ICellData $cell, IRowData $row): string|null { $icon = 'bi bi-arrow-up-right-circle-fill'; if(isset($this->setIconCallback)) $icon = $this->setIconCallback->call($this, $row); return << HTML; } public function route(MappedRoute $route) { $this->mappedRoute = $route; return $this; } public function setIconIf(Closure $callback) { $this->setIconCallback = $callback; return $this; } public function isRelationship(): bool { return false; } }