Render table component without a view
Is it possible to build a Filament table without a view file?
Tried using Blade render but getting error:
Using $this when not in object context
From inside <x-filament-tables::reorder.handle />
Solution:Jump to solution
You can also just return the HTML:
```php
public function render()
{
return $this->table->toHtml();...
3 Replies
Livewire
Making Components | Livewire
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Solution
You can also just return the HTML:
Still getting the same error:
Using $this when not in object contextRendering the table inside a modal from a form action if that makes a difference?