Filament `4.x` blade rendering

In Filament 4, tables are now rendered as a single large blade view, which significantly improves loading speed. However, when you add custom views to individual columns, each of them is still loaded separately. Is there a way to apply the same optimized rendering logic to these custom column views?
3 Replies
CodeWithDennis
CodeWithDennisOP3mo ago
^
Dan Harrin
Dan Harrin3mo ago
if you look at the column classes in core, you can see that they dont use Blade views, and instead render their HTML through toEmbeddedHtml() you need to implement the HasEmbeddedHtml interface too though
CodeWithDennis
CodeWithDennisOP3mo ago
Thanks Dan! I will take a look and see if i can figure it out 🫡

Did you find this page helpful?