use Filament\Tables\Columns\Column;
use Livewire\Attributes\Lazy;
#[Lazy]
class CustomStatus extends Column
{
public $longAttributeToCompute;
public function mount()
{
$this->longAttributeToCompute = ExternalService::longApiCall($this->getRecord());
}
protected string $view = 'filament.tables.columns.CustomStatus';
}
use Filament\Tables\Columns\Column;
use Livewire\Attributes\Lazy;
#[Lazy]
class CustomStatus extends Column
{
public $longAttributeToCompute;
public function mount()
{
$this->longAttributeToCompute = ExternalService::longApiCall($this->getRecord());
}
protected string $view = 'filament.tables.columns.CustomStatus';
}