FilamentF
Filament10mo ago
Grogu

Conditional actions on table columns

Hi all!

I have a table, along the Y axis (rows) is a list of locations, and each column along the X axis is information from different relations to that Location (complianceA.name, complianceB.name).

I want the ability when clicking on the column, to either open an edit modal for the relation if it exists, and to open a create modal for the relation if it does not exist.

Any help appreciated!
Was this page helpful?