Hi, does anyone know of a way to add custom columns to the List Behavior for plugins?
ie:
I've built a products manager where each product can have a status of either "Live", "Scheduled" or "Draft". There is no "status" field in the DB table for the products as the status is determined by a number of factors based on other field attributes for each of the products - this is a column that I'd just like to add to the Index List to show the status of a product based on some logic I've written which factors in the other attributes. I just need to display the logic outcome in an extra column in the list called "Status".
I've added a "Status" column in the columns.yaml for the Model, I just need to populate it, but I don't know where/how to go about this.
Hope that makes sense :)
Last updated