ImageColumn not displaying .png
so i have a table and trying to use a image:
i have my Types folder with images in
public
folder but it's not loading them4 Replies
update: i've inspected the element in chrome and can see the HTML code there, with a resource link which when i click on takes me to the image and loads fine.
->url() is where the image column links too.
you want
yeah i just figured out the default is what i need -.- silly me!
im no pro, but can i access the $record attribute in this field to something like {typeID}
for anyone else looking to do the same, looks like the way to do this:
That should work for the column, usually you would use:
->getStateUsing(fn() => ) opposed to default