© 2026 Hedgehog Software, LLC
Using $this when not in object contextFrom inside <x-filament-tables::reorder.handle /><x-filament-tables::reorder.handle />
<x-filament-tables::reorder.handle />
class ListExamples extends Component implements HasForms, HasTable { use InteractsWithTable; use InteractsWithForms; public function table(Table $table): Table { return $table ->query(Example::query()) ->columns([ TextColumn::make('name'), ]); } public function render(): string { return Blade::render(<<<'BLADE' <div> {{ $table }} </div> BLADE, ['table' => $this->table]); } }
public function render() { return $this->table->toHtml(); }