
Build a Custom Table Column
Watch the Build Advanced Components for Filament series on Laracasts - it will teach you how to build components, and you'll get to know all the internal tools to help you.View columns
You may render a custom view for a cell using theview() method:
resources/views/filament/tables/columns/status-switcher.blade.php file.
Custom classes
You may create your own custom column classes and cell views, which you can reuse across your project, and even release as a plugin to the community.If you’re just creating a simple custom column to use once, you could instead use a view column to render any custom Blade file.To create a custom column class and view, you may use the following command:
resources/views/filament/tables/columns/status-switcher.blade.php.
Accessing the state
Inside your view, you may retrieve the state of the cell using the$getState() function:
Accessing the Eloquent record
Inside your view, you may access the Eloquent record using the$getRecord() function: